From fc3d4e20de945beb05e013daaff0689d5b74dab2 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Sun, 12 Mar 2023 21:04:54 +0100 Subject: feat: Move open repair window button to settings (#208) This makes it now "publicly" available --- src-vue/src/views/DeveloperView.vue | 16 ---------------- src-vue/src/views/SettingsView.vue | 20 +++++++++++++++++++- 2 files changed, 19 insertions(+), 17 deletions(-) (limited to 'src-vue') diff --git a/src-vue/src/views/DeveloperView.vue b/src-vue/src/views/DeveloperView.vue index b8c8c242..52117b8d 100644 --- a/src-vue/src/views/DeveloperView.vue +++ b/src-vue/src/views/DeveloperView.vue @@ -37,9 +37,6 @@

Repair:

- - Open Repair window - Get installed mods @@ -155,19 +152,6 @@ export default defineComponent({ }); }); }, - - async createNewWindow() { - await invoke("open_repair_window") - .then((message) => { }) - .catch((error) => { - ElNotification({ - title: 'Error', - message: error, - type: 'error', - position: 'bottom-right' - }); - }); - }, } }); diff --git a/src-vue/src/views/SettingsView.vue b/src-vue/src/views/SettingsView.vue index 1c03fe4f..c93d69ff 100644 --- a/src-vue/src/views/SettingsView.vue +++ b/src-vue/src/views/SettingsView.vue @@ -32,6 +32,11 @@ +

Repair

+ + Open Repair window + +

About:

FlightCore Version: {{ flightcoreVersion === '' ? 'Unknown version' : `${flightcoreVersion}` }} @@ -53,6 +58,7 @@