feat: add button to copy the item URL (#389)
Some checks failed
Docker publish ARM / build (push) Has been cancelled
Docker publish rootless ARM / build-rootless (push) Has been cancelled
Docker publish rootless / build-rootless (push) Has been cancelled
Docker publish / build (push) Has been cancelled
Update Currencies / update-currencies (push) Has been cancelled

Co-authored-by: zebrapurring <>
This commit is contained in:
zebrapurring
2024-12-24 04:18:44 +01:00
committed by GitHub
parent a3ebeb8f6f
commit 441c2e7a59

View File

@@ -386,6 +386,10 @@
closeDialog();
});
const currentUrl = computed(() => {
return window.location.href;
});
const currentPath = computed(() => {
return route.path;
});
@@ -528,7 +532,10 @@
<input v-model="preferences.showEmpty" type="checkbox" class="toggle toggle-primary" />
<span class="label-text ml-4"> Show Empty </span>
</label>
<PageQRCode />
<div class="space-x-1">
<CopyText :text="currentUrl" :icon-size="16" class="btn btn-circle btn-ghost btn-xs" />
<PageQRCode />
</div>
</div>
</template>
<DetailsSection :details="itemDetails">