Fix frontend tests and linting errors
This commit is contained in:
@@ -23,7 +23,7 @@ export function getPlaceholder(field) {
|
||||
*/
|
||||
export function getFieldProps(field) {
|
||||
// Создаем копию, исключая служебные поля, которые мы передаем отдельно или не хотим передавать
|
||||
const { $formkit, id, ...rest } = field;
|
||||
const { $formkit: _$formkit, id: _id, ...rest } = field;
|
||||
|
||||
const props = { ...rest };
|
||||
|
||||
|
||||
@@ -145,7 +145,7 @@ function cloneBlock(block) {
|
||||
}
|
||||
|
||||
function showDrawer(blockIndex) {
|
||||
if (currentBlock) {
|
||||
if (currentBlock.value) {
|
||||
drawerBlockIndex.value = blockIndex;
|
||||
isDrawerSettingsVisible.value = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user