mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 15:40:10 +00:00
32 lines
565 B
Vue
32 lines
565 B
Vue
<template>
|
|
<div>
|
|
<h2 class="px-4">
|
|
<i class="pi pi-cog" />
|
|
<span>{{ $t('g.settings') }}</span>
|
|
<Tag
|
|
v-if="isStaging"
|
|
value="staging"
|
|
severity="warn"
|
|
class="ml-2 text-xs"
|
|
/>
|
|
</h2>
|
|
</div>
|
|
</template>
|
|
<script setup lang="ts">
|
|
import Tag from 'primevue/tag'
|
|
|
|
import { isProductionEnvironment } from '@/config/environment'
|
|
|
|
const isStaging = !isProductionEnvironment()
|
|
</script>
|
|
|
|
<style scoped>
|
|
.pi-cog {
|
|
font-size: 1.25rem;
|
|
margin-right: 0.5rem;
|
|
}
|
|
.version-tag {
|
|
margin-left: 0.5rem;
|
|
}
|
|
</style>
|