30 lines
870 B
Vue
30 lines
870 B
Vue
|
<template>
|
||
|
<div class="flex flex-col gap-2 h-full w-full overflow-y-auto">
|
||
|
<Spinner v-if="loadingActive == 'loading'" class="mx-auto" />
|
||
|
<p v-else-if="loadingActive == 'failed'" @click="" class="cursor-pointer">↺ laden fehlgeschlagen</p>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script setup lang="ts">
|
||
|
import { defineComponent } from "vue";
|
||
|
import { mapActions, mapState } from "pinia";
|
||
|
import Spinner from "@/components/Spinner.vue";
|
||
|
import { useProtocolStore } from "@/stores/admin/protocol";
|
||
|
import { QuillEditor } from "@vueup/vue-quill";
|
||
|
import "@vueup/vue-quill/dist/vue-quill.snow.css";
|
||
|
import { toolbarOptions } from "@/helpers/quillConfig";
|
||
|
</script>
|
||
|
|
||
|
<script lang="ts">
|
||
|
export default defineComponent({
|
||
|
props: {
|
||
|
protocolId: String,
|
||
|
},
|
||
|
computed: {
|
||
|
...mapState(useProtocolStore, ["loadingActive"]),
|
||
|
},
|
||
|
mounted() {},
|
||
|
methods: {},
|
||
|
});
|
||
|
</script>
|