ui: beta flag

This commit is contained in:
Andras Bacsai
2022-09-28 10:41:32 +02:00
parent 3c29eaa1b1
commit b4501fe52d
6 changed files with 45 additions and 35 deletions

View File

@@ -27,6 +27,7 @@
import { onDestroy, onMount } from 'svelte';
import { get, post } from '$lib/api';
import { errorNotification } from '$lib/common';
import Beta from './Beta.svelte';
async function getStatus() {
if (loading.usage) return;
loading.usage = true;
@@ -78,7 +79,7 @@
<h1 class="font-bold text-lg lg:text-xl truncate">
{server.name}
{#if server.remoteEngine}
<span class="badge bg-coollabs-gradient rounded text-white"> BETA </span>
<Beta />
{/if}
</h1>
<div class="text-xs">