migrations
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 1m7s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 1m7s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 1m11s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m24s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 1m21s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 40s

This commit is contained in:
2026-01-02 15:30:33 -05:00
parent 667797df15
commit fcd0f78fd1
3 changed files with 25 additions and 6 deletions

View File

@@ -4,7 +4,8 @@
<template #header>
<div class="flex flex-col items-center justify-center">
<div>
<Image
:src="getImgUrl"
</div>
<div class="text-2xl mt-5">
<span v-if="capabilities.client_name !== ''">{{ capabilities.client_name }}</span>
@@ -128,6 +129,11 @@ interface Data {
magicLink: boolean
loading: boolean
capabilities: {
branding: {
imageUrl: string,
foregroundColor: string,
backgroundColor: string,
},
client_name: string
userPass: boolean
magicLogin: boolean
@@ -161,6 +167,11 @@ export default defineComponent({
magicLink: false,
loading: false,
capabilities: {
branding: {
imageUrl: '',
foregroundColor: '',
backgroundColor: '',
},
client_name: '',
userPass: false,
magicLogin: false,
@@ -212,6 +223,13 @@ export default defineComponent({
}
},
methods: {
getImgUrl() {
if (this.capabilities.branding.imageUrl !== '') {
return this.capabilities.branding.imageUrl
}
return '/assets/logo.png'
},
date() {
return new Date().getFullYear()
},