mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 14:11:10 +00:00
Adds hidden elements option to file system browser directories and paths
This commit is contained in:
1 parent
15a1881495
commit
b3db46ed5f
18 files changed
+217
-59
No files matched your search
@@ -238,7 +238,7 @@ async function checkPathAsync(path) {
|
||||
if (addressBarInput.value !== null && !addressBarInput.value.endsWith(pathSeparator))
|
||||
addressBarInput.value += pathSeparator;
|
||||
} else {
|
||||
const pathExistsResponse = await callApiGetAsync(`${clientBasePath}path/check-path-exists?path=${encodeURIComponent(path)}`);
|
||||
const pathExistsResponse = await callApiGetAsync(`${clientBasePath}path/check-path-exists?path=${encodeURIComponent(path)}&includeHiddenElements=${showHiddenElements}`);
|
||||
if (pathExistsResponse !== undefined && !pathExistsResponse.exists) {
|
||||
notificationService.show("Specified path does not exist!", NotificationType.ERROR); // TODO: should ask error message from server when translation is implemented
|
||||
return false;
|
||||
|
||||
Reference in new issue
Block a user