Set correct defaults for users/files

This commit is contained in:
rijkvanzanten
2020-08-11 17:39:34 -04:00
parent 3e56fbeb43
commit 2d46687116
4 changed files with 44 additions and 40 deletions

View File

@@ -76,7 +76,7 @@ export function usePreset(collection: Ref<string>, bookmark: Ref<number | null>
const viewType = computed<string | null>({
get() {
return localPreset.value.view_type || null;
return localPreset.value.view_type || 'tabular';
},
set(val) {
localPreset.value = {