Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/app/interfaces/cloud-sync-task.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,6 @@ export interface CloudSyncListDirectoryParams {
export interface CloudSyncDirectoryListing {
Name: string;
IsDir: boolean;
Decrypted: boolean;
// The decrypted name of the file or directory
Decrypted?: string;
}
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export class CloudBackupFormComponent implements OnInit {
if (file.IsDir) {
nodes.push({
path: `${data.attributes.folder}/${file.Name}`.replace(/\/+/g, '/'),
name: file.Name,
name: file.Decrypted ? file.Decrypted : file.Name,
type: ExplorerNodeType.Directory,
hasChildren: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ export class CloudSyncFormComponent implements OnInit {
if (file.IsDir) {
nodes.push({
path: `${data.attributes.folder}/${file.Name}`.replace(/\/+/g, '/'),
name: file.Name,
name: file.Decrypted ? file.Decrypted : file.Name,
type: ExplorerNodeType.Directory,
hasChildren: true,
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ export class CloudSyncWhatAndWhenComponent implements OnInit, OnChanges {
if (file.IsDir) {
nodes.push({
path: `${String(data.attributes.folder)}/${file.Name}`.replace(/\/+/g, '/'),
name: file.Name,
name: file.Decrypted ? file.Decrypted : file.Name,
type: ExplorerNodeType.Directory,
hasChildren: true,
});
Expand Down
Loading