Skip to content

Commit

Permalink
chore(edit-content): fix error with load content #30060
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobytes committed Nov 26, 2024
1 parent 66e3b91 commit 4e6d1f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export class DotSelectExistingFileComponent implements OnInit {
const data = this.#dialogConfig?.data as DialogData;
const inputType = data?.inputType === INPUT_TYPES.Image ? ['image'] : [];
this.store.setMimeTypes(inputType);
this.store.loadContent();
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,6 @@ export const SelectExisingFileStore = signalStore(
withHooks((store) => ({
onInit: () => {
store.loadFolders();
store.loadContent();
}
}))
);

0 comments on commit 4e6d1f2

Please sign in to comment.