Add loading indicator when checking for previous report data
This commit is contained in:
parent
b23fc6edc5
commit
14c0d453e9
4 changed files with 158 additions and 55 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import { defineStore } from "pinia";
|
||||
|
||||
export const useStoreLocal = defineStore("local", () => {
|
||||
function getSessionID(): string {
|
||||
function getClientID(): string {
|
||||
let id = localStorage.getItem("session_id");
|
||||
if (id) {
|
||||
return id;
|
||||
|
|
@ -11,6 +11,6 @@ export const useStoreLocal = defineStore("local", () => {
|
|||
return id;
|
||||
}
|
||||
return {
|
||||
getSessionID,
|
||||
getClientID,
|
||||
};
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue