Explorar el Código

create store to store previously checked element

CroogQT hace 3 años
padre
commit
2e38e62101
Se han modificado 1 ficheros con 7 adiciones y 0 borrados
  1. 7 0
      netbox/project-static/src/stores/previousPkCheck.ts

+ 7 - 0
netbox/project-static/src/stores/previousPkCheck.ts

@@ -0,0 +1,7 @@
+import { createState } from '../state';
+
+export const previousPKCheckState = createState<{ hidden: boolean }>(
+  { hidden: false },
+  { persist: false },
+);
+