From 25a43b7618c053402feaaa12ba8f9a9a340862a9 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 28 Mar 2019 11:27:37 -0400 Subject: [PATCH] make sure vault load only happens once per call --- src/app/vault/vault.component.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/app/vault/vault.component.ts b/src/app/vault/vault.component.ts index 6954ab7703..7ad81b791c 100644 --- a/src/app/vault/vault.component.ts +++ b/src/app/vault/vault.component.ts @@ -163,7 +163,12 @@ export class VaultComponent implements OnInit, OnDestroy { } async load() { + let loaded = false; const queryParamsSub = this.route.queryParams.subscribe(async (params) => { + if (loaded) { + return; + } + loaded = true; await this.groupingsComponent.load(); if (params == null) {