Explorar el Código

post MR fixes

Olivier Massot hace 2 años
padre
commit
49e51ec4dd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      stores/accessProfile.ts

+ 1 - 1
stores/accessProfile.ts

@@ -54,7 +54,7 @@ export const useAccessProfileStore = defineStore('accessProfile', () => {
    * @return {boolean}
    */
   const currentAccessId = computed((): number => {
-    return (!switchId.value || isNaN(switchId.value)) ? (id.value ?? 0) : switchId.value
+    return (!switchId.value || isNaN(switchId.value)) ? id.value!! : switchId.value
   })
 
   /**