From 95be7ba7d7fa0a3aef588df6df97559fd8ada080 Mon Sep 17 00:00:00 2001 From: NeoPlays <80448387+NeoPlays@users.noreply.github.com> Date: Thu, 29 Aug 2024 11:45:48 +0200 Subject: [PATCH] Update UpdatePanel.vue --- .../UI/base-header/components/modals/UpdatePanel.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/launcher/src/components/UI/base-header/components/modals/UpdatePanel.vue b/launcher/src/components/UI/base-header/components/modals/UpdatePanel.vue index c9e8374f1..e0103ff5e 100755 --- a/launcher/src/components/UI/base-header/components/modals/UpdatePanel.vue +++ b/launcher/src/components/UI/base-header/components/modals/UpdatePanel.vue @@ -184,7 +184,7 @@ class="w-full h-[28px] flex justify-center items-center p-1 space-x-4 border-b border-gray-500 bg-teal-800" >
- icon + icon
{{ $t("updatePanel.availablePlugin") @@ -326,6 +326,10 @@ const searchUpdate = () => { useUpdateCheck(); }; +const copyUpdates = () => { + navigator.clipboard.writeText(serviceStore.newUpdates.map(u => "- " + u.name + " to " + u.version).join("\n")); +}; + const checkStereumUpdate = computed(() => { if (headerStore.stereumUpdate && headerStore.stereumUpdate.version) return headerStore.stereumUpdate.commit != headerStore.stereumUpdate.current_commit ? true : false;