- 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:
@@ -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,
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user