printout page
This commit is contained in:
parent
225b686de6
commit
f3ffdb1ffd
7 changed files with 137 additions and 8 deletions
|
@ -3,6 +3,7 @@ import { useProtocolAgendaStore } from "@/stores/admin/protocolAgenda";
|
|||
import { useProtocolDecisionStore } from "@/stores/admin/protocolDecision";
|
||||
import { useProtocolPresenceStore } from "@/stores/admin/protocolPresence";
|
||||
import { useProtocolVotingStore } from "@/stores/admin/protocolVoting";
|
||||
import { useProtocolPrintoutStore } from "../stores/admin/protocolPrintout";
|
||||
|
||||
export async function setProtocolId(to: any, from: any, next: any) {
|
||||
const protocol = useProtocolStore();
|
||||
|
@ -12,6 +13,7 @@ export async function setProtocolId(to: any, from: any, next: any) {
|
|||
useProtocolDecisionStore().$reset();
|
||||
useProtocolPresenceStore().$reset();
|
||||
useProtocolVotingStore().$reset();
|
||||
useProtocolPrintoutStore().$reset();
|
||||
|
||||
next();
|
||||
}
|
||||
|
@ -25,6 +27,7 @@ export async function resetProtocolStores(to: any, from: any, next: any) {
|
|||
useProtocolDecisionStore().$reset();
|
||||
useProtocolPresenceStore().$reset();
|
||||
useProtocolVotingStore().$reset();
|
||||
useProtocolPrintoutStore().$reset();
|
||||
|
||||
next();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue