Merge branch 'net' into development

This commit is contained in:
somnetsak123 2023-12-12 17:18:19 +07:00
commit 7dca7db2b2

View file

@ -285,7 +285,7 @@ const useStorage = defineStore('storageStore', () => {
)
}
if (currentInfo.path.includes(arr[arr.length - 1])) {
if (currentInfo.path !== path && currentInfo.path.startsWith(path)) {
error.title = 'ตำเเหน่งที่คุณอยู่ถูกลบ'
error.msg = ''
error.show()