useLogoUrl.ts 404 B

1234567891011121314
  1. // Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. import { computed } from 'vue'
  3. import { useApplicationStore } from '#shared/stores/application.ts'
  4. export const useLogoUrl = () => {
  5. const application = useApplicationStore()
  6. const logoUrl = computed(() => {
  7. return `/api/v1/system_assets/product_logo/${application.config.product_logo}`
  8. })
  9. return { logoUrl }
  10. }