mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-02 13:17:57 +01:00
docs(footer): fix when page is not defined
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<footer class="flex items-center justify-between gap-1.5">
|
<footer class="flex items-center justify-between gap-1.5">
|
||||||
<UButton
|
<UButton
|
||||||
|
v-if="page"
|
||||||
:to="`https://github.com/nuxtlabs/ui/edit/dev/docs/content/${page._file}`"
|
:to="`https://github.com/nuxtlabs/ui/edit/dev/docs/content/${page._file}`"
|
||||||
label="Edit on GitHub"
|
label="Edit on GitHub"
|
||||||
color="gray"
|
color="gray"
|
||||||
|
|||||||
Reference in New Issue
Block a user