1 import { defineStore } from "pinia";
3 export const useMainStore = defineStore("main", {
10 displayed_already: false,
17 this.message = message;
18 this.displayed_already = false; /* Will be displayed on the next view */
23 this.displayed_already = true; /* Is displayed on the current view */
26 this.warning = warning;
28 this.displayed_already = true; /* Is displayed on the current view */
31 if (this.displayed_already) {
36 this.displayed_already = true;
39 this.is_submitting = true;
42 this.is_submitting = false;