- catalogo

- corretto logica del RefreshToken che non richiedeva il nuovo token, quindi scadeva tutte le volte, richiedendo sempre l'accesso !
This commit is contained in:
Surya Paolo
2025-01-07 17:17:08 +01:00
parent ce86dd51a8
commit 3734762a8b
72 changed files with 2112 additions and 3592650 deletions

View File

@@ -25,6 +25,8 @@ export default defineComponent({
const filter = ref(costanti.MY_CIRCUITS)
const ind = ref(0)
const isfinishLoading = computed(() => globalStore.finishLoading)
function mounted() {
@@ -32,6 +34,9 @@ export default defineComponent({
if (userStore.my.profile.mycircuits.length <= 0) {
filter.value = costanti.FIND_CIRCUIT
}
ind.value = tools.getIndMainCardsByTable(shared_consts.TABLES_CIRCUITS)
// const filt_loaded = tools.getCookie(tools.COOK_SEARCH + tools.CIRCUIT_SEARCH, costanti.FIND_CIRCUIT, true)
// console.log('filt_loaded', filt_loaded)
// filter.value = filt_loaded ? filt_loaded : costanti.FIND_CIRCUIT
@@ -51,6 +56,7 @@ export default defineComponent({
toolsext,
isfinishLoading,
tools,
ind,
}
}
})

View File

@@ -5,11 +5,12 @@
<CMyCircuits v-model="filter" :finder="true" :showfinder="true" :showBarSelection="true">
<CFinder
:ind="tools.getIndMainCardsByTable(shared_consts.TABLES_CIRCUITS)"
:ind="ind"
:table="shared_consts.TABLES_CIRCUITS"
:noButtAdd="!tools.isManager()"
:showFilterPersonal="true"
:showBarSelection="false"
:labelBtnAddExtra="(ind >= 0 && tools.isManager()) ? `Aggiungi ` + costanti.MAINCARDS[ind].strsingolo : ''"
/>
</CMyCircuits>
</div>