Refactor layout components and remove unnecessary code

This commit is contained in:
andrea.terzani
2024-10-21 16:46:24 +02:00
parent e3ae7a4e94
commit ce32492ff9

View File

@@ -27,8 +27,6 @@
<template #list="slotProps">
<div class="flex flex-col space-y-4 mt-2">
<div v-for="(item, index) in slotProps.items" :key="index">
<div class="flex flex-col sm:flex-row sm:items-center p-6 gap-4 bg-white dark:bg-gray-800 rounded-lg shadow-md"
:class="{ 'border-t border-gray-200 dark:border-gray-700': index !== 0 }">
@@ -69,18 +67,15 @@
</template>
<script setup>
import { ChevronRightIcon } from '@heroicons/vue/24/solid';
import { ChevronRightIcon } from '@heroicons/vue/24/solid';
import DataView from 'primevue/dataview';
import { onMounted, ref } from 'vue';
import { useRouter } from 'vue-router';
import { LoadingStore } from '../../stores/LoadingStore.js';
import { ScenarioStore } from '../../stores/ScenarioStore.js';
const router = useRouter()
const layout = ref('grid');
const options = ref(['list', 'grid']);
const loading = ref(true)
const loadingStore = LoadingStore()
const scenario_store = ScenarioStore();