Make application and logo configurable (#336)
* Adds settings for server name and logo * Implements ApplicationLogo and replaces site name based on settings * Refactors component for changing the company logo * Removes unused variable * Uses message instead of statusMessage * Replaces favicon with logo if set
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<template>
|
||||
<template v-if="!mLogoObjectId">
|
||||
<DropLogo />
|
||||
</template>
|
||||
<template v-else>
|
||||
<img :src="useObject(mLogoObjectId)" :alt="`${serverName} logo`" />
|
||||
</template>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
const { serverName, mLogoObjectId } = await $dropFetch("/api/v1");
|
||||
</script>
|
||||
Reference in New Issue
Block a user