From e40b80c48ee641092d44fcacfa9ad2d59c33e676 Mon Sep 17 00:00:00 2001 From: somnetsak123 Date: Tue, 12 Dec 2023 16:01:46 +0700 Subject: [PATCH] refactor: show dialog Repeat name --- Services/client/src/stores/storage.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Services/client/src/stores/storage.ts b/Services/client/src/stores/storage.ts index 1a31052..2eebab0 100644 --- a/Services/client/src/stores/storage.ts +++ b/Services/client/src/stores/storage.ts @@ -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))