fix:delete create Folder duplicate

This commit is contained in:
somnetsak123 2023-12-12 17:32:25 +07:00
parent 7dca7db2b2
commit 265d106bfa

View file

@ -214,12 +214,7 @@ 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))
}
},