Bug fixes + Save status
This commit is contained in:
@@ -5,6 +5,7 @@ import ComponentsSelectionList from './ComponentsSelectionList.vue';
|
||||
import { computed } from 'vue';
|
||||
import { useResumesStore } from '@/stores/resume';
|
||||
import { useShowComponentSelectionStore } from '@/stores/ui';
|
||||
import SaveStatusIcon from '../SaveStatusIcon.vue';
|
||||
|
||||
const resumeStore = useResumesStore();
|
||||
const selectedComponent = resumeStore.currentSelectedResumePlacement;
|
||||
@@ -14,7 +15,8 @@ const showComponentSelection = computed<boolean>(() => showComponentSelectionSto
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex h-full flex-1 gap-4 rounded-xl p-4 overflow-x-auto max-w-[25%] bg-accent relative">
|
||||
<div class="flex flex-col h-full flex-1 gap-4 rounded-xl p-4 overflow-x-auto max-w-[25%] bg-accent relative">
|
||||
<SaveStatusIcon />
|
||||
<Transition mode="out-in" appear>
|
||||
<ResumeComponentEdit v-if="selectedComponent != null" :key="selectedComponent ? selectedComponent.id : 'form'" />
|
||||
<ComponentsSelectionList v-else-if="showComponentSelection" />
|
||||
|
||||
Reference in New Issue
Block a user