tweaked dev build header
This commit is contained in:
@@ -19,6 +19,7 @@ function formatDate(dateStr) {
|
||||
}
|
||||
|
||||
const environment = import.meta.env.VITE_ENVIRONMENT;
|
||||
const version = import.meta.env.VITE_APPLICATION_VERSION;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -30,7 +31,7 @@ const environment = import.meta.env.VITE_ENVIRONMENT;
|
||||
<Navbar class="flex"></Navbar>
|
||||
<Alert v-if="environment == 'dev'" class="m-2 mx-auto w-5xl" variant="info">
|
||||
<AlertDescription class="flex flex-row items-center text-nowrap gap-5 mx-auto">
|
||||
<p>This is a development build of the application. Some features will be unavailable or unstable.</p>
|
||||
<p>Development environment (v{{ version }}). Features may be incomplete or unavailable.</p>
|
||||
</AlertDescription>
|
||||
</Alert>
|
||||
<Alert v-if="userStore.user?.LOAs?.[0]" class="m-2 mx-auto w-5xl" variant="info">
|
||||
|
||||
Reference in New Issue
Block a user