|
@@ -1,18 +1,14 @@
|
|
|
<template>
|
|
<template>
|
|
|
<main>
|
|
<main>
|
|
|
- <a ref="btn">
|
|
|
|
|
|
|
+ <a ref="btn" id="activator">
|
|
|
{{ $t('my_list') }}
|
|
{{ $t('my_list') }}
|
|
|
</a>
|
|
</a>
|
|
|
|
|
|
|
|
<v-menu
|
|
<v-menu
|
|
|
:activator="btn"
|
|
:activator="btn"
|
|
|
- :model-value="showMenu"
|
|
|
|
|
- location="start"
|
|
|
|
|
|
|
+ offset="10"
|
|
|
:close-on-content-click="false"
|
|
:close-on-content-click="false"
|
|
|
- min-width="500"
|
|
|
|
|
- @update:modelValue="onMenuToggled($event)"
|
|
|
|
|
>
|
|
>
|
|
|
-
|
|
|
|
|
<v-card v-if="collection.totalItems === 0" height="80" class="pa-4">
|
|
<v-card v-if="collection.totalItems === 0" height="80" class="pa-4">
|
|
|
<v-card-text class="ma-0 pa-0 header_menu">
|
|
<v-card-text class="ma-0 pa-0 header_menu">
|
|
|
{{ $t('nothing_to_show') }}
|
|
{{ $t('nothing_to_show') }}
|
|
@@ -59,11 +55,6 @@ import {AnyJson} from "~/types/data";
|
|
|
import ApiResource from "~/models/ApiResource";
|
|
import ApiResource from "~/models/ApiResource";
|
|
|
|
|
|
|
|
const btn: Ref = ref(null)
|
|
const btn: Ref = ref(null)
|
|
|
-const showMenu: Ref<boolean> = ref(false)
|
|
|
|
|
-
|
|
|
|
|
-const onMenuToggled = (event: any) => {
|
|
|
|
|
- showMenu.value = event
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
const { fetch, fetchCollection } = useEntityFetch()
|
|
const { fetch, fetchCollection } = useEntityFetch()
|
|
|
|
|
|
|
@@ -100,7 +91,15 @@ const getListURL = (list: PersonalizedList) => {
|
|
|
}
|
|
}
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
-<style lang="scss">
|
|
|
|
|
|
|
+<style scoped lang="scss">
|
|
|
|
|
+ #activator {
|
|
|
|
|
+ cursor: pointer;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ #activator:hover {
|
|
|
|
|
+ color: rgb(var(--var-theme-on-neutral)) !important;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
.header-personalized {
|
|
.header-personalized {
|
|
|
margin-bottom: 0;
|
|
margin-bottom: 0;
|
|
|
padding-bottom: 0;
|
|
padding-bottom: 0;
|