diff --git a/src/pat/contentbrowser/src/ContentBrowser.svelte b/src/pat/contentbrowser/src/ContentBrowser.svelte
index e00637a2f..a36b4d0d4 100644
--- a/src/pat/contentbrowser/src/ContentBrowser.svelte
+++ b/src/pat/contentbrowser/src/ContentBrowser.svelte
@@ -53,7 +53,7 @@
allowPathSelection: false,
hiddenInputContainer: ".upload-wrapper",
success: (fileUpload, obj) => {
- contentItems.get($currentPath, null, null, true);
+ contentItems.get($currentPath, null, true);
},
});
}
@@ -127,7 +127,7 @@
$: {
if ($config.vocabularyUrl) {
- contentItems.get($currentPath, null, currentLevelData);
+ contentItems.get($currentPath);
}
}
@@ -199,9 +199,19 @@
{/if}
-
+
+ {:else}
+
+ {/if}
{#each level.results as item, n}
@@ -218,6 +228,20 @@
on:keydown={() => changePath(item)}
on:click={() => changePath(item)}
>
+ {#if level.gridView}
+
+ {#if item.getIcon}
+
+ {:else}
+
+ {/if}
+ {item.Title}
+
+ {:else}
{item.Title}
+ {/if}
{#if item.is_folderish}