This commit is contained in:
rxdn 2024-06-19 00:32:08 +01:00
parent e323b0dada
commit a2c9c8f2ee
2 changed files with 6 additions and 4 deletions

View File

@ -119,6 +119,7 @@ func WhitelabelPost() func(*gin.Context) {
ctx.JSON(200, gin.H{ ctx.JSON(200, gin.H{
"success": true, "success": true,
"bot": bot, "bot": bot,
"username": bot.Bot.Username,
}) })
} }
} }

View File

@ -108,7 +108,7 @@
gap: 2%; gap: 2%;
} }
@media only screen and (max-width: 900px) { @media only screen and (max-width: 1180px) {
.wrapper { .wrapper {
flex-direction: column; flex-direction: column;
} }
@ -228,7 +228,7 @@
$: token = ''; $: token = '';
await loadBot(); await loadBot();
notifySuccess(`Started tickets whitelabel on ${res.data.bot.username}`); notifySuccess(`Started tickets whitelabel on ${res.data.bot.name}`);
} }
async function updateStatus() { async function updateStatus() {
@ -267,6 +267,7 @@
} }
bot = res.data; bot = res.data;
active = true; active = true;
return true; return true;