fix launchUI button

This commit is contained in:
Aiden McClelland
2024-07-25 16:14:04 -06:00
parent 854044229c
commit 370c38ec76
7 changed files with 59 additions and 43 deletions

View File

@@ -444,7 +444,11 @@ export class SystemForEmbassy implements System {
description: interfaceValue.description,
hasPrimary: false,
disabled: false,
type: "api",
type:
interfaceValue.ui &&
(origin.scheme === "http" || origin.sslScheme === "https")
? "ui"
: "api",
masked: false,
path: "",
schemeOverride: null,