From 3b3927326d1107fbfd02ab27d9f01a0732119064 Mon Sep 17 00:00:00 2001 From: aliel Date: Mon, 3 Jun 2024 21:54:47 +0200 Subject: [PATCH] prevent persona default values from being modified --- src/stores/personas-store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stores/personas-store.js b/src/stores/personas-store.js index 475d26b..4731fd2 100644 --- a/src/stores/personas-store.js +++ b/src/stores/personas-store.js @@ -5,7 +5,7 @@ import { defaultPersonas } from '../utils/personas.js'; export const usePersonasStore = defineStore('personas', { state: () => ({ personas: defaultPersonas, - persona: defaultPersonas[0], + persona: {...defaultPersonas[0]}, }), getters: {}, actions: {