refactor: show dialog Repeat name

This commit is contained in:
somnetsak123 2023-12-12 16:01:46 +07:00
parent 038e6c0b97
commit e40b80c48e

View file

@ -214,6 +214,10 @@ const useStorage = defineStore('storageStore', () => {
createdAt: data.createdAt,
createdBy: data.createdBy,
})
} else {
error.title = 'ตั้งชื่อ Folder ซ้ำ'
error.msg = ''
error.show()
}
folder.value[path].sort((a, b) => a.pathname.localeCompare(b.pathname))