Fix frontend tests and linting errors

This commit is contained in:
2025-12-03 01:34:12 +03:00
parent 50bdb8601c
commit 772efce242
6 changed files with 5 additions and 6 deletions

View File

@@ -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 };

View File

@@ -145,7 +145,7 @@ function cloneBlock(block) {
}
function showDrawer(blockIndex) {
if (currentBlock) {
if (currentBlock.value) {
drawerBlockIndex.value = blockIndex;
isDrawerSettingsVisible.value = true;
}