From 374705ca27eb0f8dc195c4c719f7eb06b754e53e Mon Sep 17 00:00:00 2001 From: vato007 Date: Sun, 14 Jul 2024 17:03:28 +0930 Subject: [PATCH] Fix configuration export in browser --- .../proto-definition-selector.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/proto-definition-selector/proto-definition-selector.component.ts b/src/app/proto-definition-selector/proto-definition-selector.component.ts index cf2cabb..16b968e 100644 --- a/src/app/proto-definition-selector/proto-definition-selector.component.ts +++ b/src/app/proto-definition-selector/proto-definition-selector.component.ts @@ -197,7 +197,7 @@ export class ProtoDefinitionSelectorComponent { } protected async exportConfiguration() { - if (typeof __TAURI__ !== undefined) { + if (typeof __TAURI__ !== 'undefined') { const filePath = await save({ defaultPath: `bufpiv.json`, });