From 82dc1cc87824c960b4bab09571e5ea2bbb8f1cc0 Mon Sep 17 00:00:00 2001 From: EmmaLRussell Date: Thu, 27 Jun 2024 10:58:46 +0100 Subject: [PATCH] prettier... --- app/static/src/app/store/model/actions.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/static/src/app/store/model/actions.ts b/app/static/src/app/store/model/actions.ts index a7b42e97..d1418d6a 100644 --- a/app/static/src/app/store/model/actions.ts +++ b/app/static/src/app/store/model/actions.ts @@ -70,8 +70,11 @@ const compileModelAndUpdateStore = (context: ActionContext // Retain variable selections. Newly added variables will be selected by default in the first graph const selectedVariables = variables.filter((s) => !rootState.graphs.config[0].unselectedVariables.includes(s)); - dispatch(`graphs/${GraphsAction.UpdateSelectedVariables}`, - { graphIndex: 0, selectedVariables }, { root: true }); + dispatch( + `graphs/${GraphsAction.UpdateSelectedVariables}`, + { graphIndex: 0, selectedVariables }, + { root: true } + ); if (state.compileRequired) { commit(ModelMutation.SetCompileRequired, false);