fix: wrong path on delete alert
This commit is contained in:
parent
708e5812ce
commit
1471600049
1 changed files with 3 additions and 3 deletions
|
|
@ -281,9 +281,9 @@ const useStorage = defineStore('storageStore', () => {
|
|||
}
|
||||
|
||||
if (
|
||||
currentInfo.path !== path &&
|
||||
currentInfo.path.length > path.length &&
|
||||
currentInfo.path.startsWith(path)
|
||||
currentInfo.path !== consistantPath(arr) &&
|
||||
currentInfo.path.length > consistantPath(arr).length &&
|
||||
currentInfo.path.startsWith(consistantPath(arr))
|
||||
) {
|
||||
error.title = 'แจ้งเตือน'
|
||||
error.msg = 'ข้อมูลที่คุณกำลังเข้าถึงอยู่ถูกลบ'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue