Skip to content

Open-source social media scheduler built for AI agents and the teams behind them. Create, schedule and publish posts to every network through MCP or the REST API, or write them yourself in a composer your team will love.

Telegram connect dialog: drop footer Close button, top-align icon

Paulo Castellanofc1d51ca605e
diff --git a/lang/en/accounts.php b/lang/en/accounts.php
index c30ef3ffa..71a3369f9 100644
--- a/lang/en/accounts.php
+++ b/lang/en/accounts.php
@@ -97,7 +97,6 @@ return [
'new_code' => 'Generate a new code',
'retry' => 'Try again',
'error_generic' => 'Could not start the connection. Please try again.',
- 'close' => 'Close',
],
'facebook' => [
diff --git a/lang/es/accounts.php b/lang/es/accounts.php
index 0a6fd872a..4fe5eb1ec 100644
--- a/lang/es/accounts.php
+++ b/lang/es/accounts.php
@@ -97,7 +97,6 @@ return [
'new_code' => 'Generar un nuevo código',
'retry' => 'Reintentar',
'error_generic' => 'No se pudo iniciar la conexión. Inténtalo de nuevo.',
- 'close' => 'Cerrar',
],
'facebook' => [
diff --git a/lang/pt-BR/accounts.php b/lang/pt-BR/accounts.php
index bc1034506..9323dc745 100644
--- a/lang/pt-BR/accounts.php
+++ b/lang/pt-BR/accounts.php
@@ -97,7 +97,6 @@ return [
'new_code' => 'Gerar um novo código',
'retry' => 'Tentar novamente',
'error_generic' => 'Não foi possível iniciar a conexão. Tente novamente.',
- 'close' => 'Fechar',
],
'facebook' => [
diff --git a/resources/js/components/accounts/TelegramConnectDialog.vue b/resources/js/components/accounts/TelegramConnectDialog.vue
index ce84b8d6d..7ec1425a4 100644
--- a/resources/js/components/accounts/TelegramConnectDialog.vue
+++ b/resources/js/components/accounts/TelegramConnectDialog.vue
@@ -10,7 +10,6 @@ import {
Dialog,
DialogContent,
DialogDescription,
- DialogFooter,
DialogHeader,
DialogTitle,
} from '@/components/ui/dialog';
@@ -123,7 +122,7 @@ onUnmounted(clearExpiry);
<Dialog v-model:open="open">
<DialogContent class="sm:max-w-lg">
<DialogHeader>
- <div class="flex items-center gap-3">
+ <div class="flex items-start gap-3">
<img
src="/images/accounts/telegram.png"
alt="Telegram"
@@ -239,12 +238,6 @@ onUnmounted(clearExpiry);
{{ $t('accounts.telegram.waiting') }}
</div>
</div>
-
- <DialogFooter>
- <Button variant="outline" @click="open = false">{{
- $t('accounts.telegram.close')
- }}</Button>
- </DialogFooter>
</DialogContent>
</Dialog>
</template>