web/Omnibox: fix main instance domain check

oops
This commit is contained in:
wukko 2024-11-18 16:42:59 +06:00
parent d8348dfa1c
commit 778ee76d59
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -139,7 +139,7 @@
if you want to remove the community instance label,
refer to the license first https://github.com/imputnet/cobalt/tree/main/web#license
-->
{#if env.DEFAULT_API || $page.url.host !== "cobalt.tools" || !$page.url.host.endsWith(".cobalt.tools")}
{#if env.DEFAULT_API || (!$page.url.host.endsWith(".cobalt.tools") && $page.url.host !== "cobalt.tools")}
<div id="instance-label">
{$t("save.label.community_instance")}
</div>