1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-23 07:09:41 +02:00

feat: update inline docs on group page to clarify private/public settings (#2190)

This commit is contained in:
Hayden 2023-02-26 12:39:36 -09:00 committed by GitHub
parent d3f893dec2
commit 01e3bb04b9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 131 additions and 46 deletions

View file

@ -0,0 +1,29 @@
<template>
<v-btn x-small :href="href" color="primary" target="_blank">
<v-icon left small>
{{ $globals.icons.folderOutline }}
</v-icon>
{{ $tc("about.docs") }}
</v-btn>
</template>
<script lang="ts">
import { computed, defineComponent } from "@nuxtjs/composition-api";
export default defineComponent({
props: {
link: {
type: String,
required: true,
},
},
setup(props) {
const href = computed(() => {
// TODO: dynamically set docs link based off env
return `https://nightly.mealie.io${props.link}`;
});
return { href };
},
});
</script>