diff --git a/components/EntityEdit.vue b/components/EntityEdit.vue index a528c11..3f06527 100644 --- a/components/EntityEdit.vue +++ b/components/EntityEdit.vue @@ -76,8 +76,6 @@ const loadOptions = async () => { } }) - console.log(optionsToLoad) - for await(const option of optionsToLoad) { if(option.option === "countrys") { loadedOptions.value[option.option] = (await supabase.from("countrys").select()).data @@ -91,8 +89,6 @@ const loadOptions = async () => { } } } - - console.log(loadedOptions.value) } loadOptions() diff --git a/components/EntityShow.vue b/components/EntityShow.vue index d733458..300dcde 100644 --- a/components/EntityShow.vue +++ b/components/EntityShow.vue @@ -90,7 +90,7 @@ const renderedPhases = computed(() => {

{{item ? `${dataType.labelSingle}: ${props.item[dataType.templateColumns.find(i => i.title).key]}`: '' }}

+ >{{item ? `${dataType.labelSingle}${props.item[dataType.templateColumns.find(i => i.title).key] ? ': ' + props.item[dataType.templateColumns.find(i => i.title).key] : ''}`: '' }}