Skip to content

armgit / dashy

Public Imported from GitHub
0

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

:fire: Removes view config screen, as not necessary

Alicia Sykese6cfad6d4ea6
diff --git a/src/components/Configuration/ConfigContainer.vue b/src/components/Configuration/ConfigContainer.vue
index 37cc397c..d1ebbd42 100644
--- a/src/components/Configuration/ConfigContainer.vue
+++ b/src/components/Configuration/ConfigContainer.vue
@@ -10,15 +10,15 @@
{{ $t('config.download-config-button') }}
</button>
</a>
- <button class="config-button center" @click="() => navigateToTab(2)">
+ <button class="config-button center" @click="() => navigateToTab(1)">
<EditIcon class="button-icon"/>
{{ $t('config.edit-config-button') }}
</button>
- <button class="config-button center" @click="() => navigateToTab(4)">
+ <button class="config-button center" @click="() => navigateToTab(3)">
<CustomCssIcon class="button-icon"/>
{{ $t('config.edit-css-button') }}
</button>
- <button class="config-button center" @click="() => navigateToTab(3)">
+ <button class="config-button center" @click="() => navigateToTab(2)">
<CloudIcon class="button-icon"/>
{{backupId ? $t('config.edit-cloud-sync-button') : $t('config.cloud-sync-button') }}
</button>
@@ -51,21 +51,6 @@
<!-- Rebuild App Modal -->
<RebuildApp />
</TabItem>
- <TabItem :name="$t('config.view-config-tab')" class="code-container">
- <pre id="conf-yaml">{{yaml}}</pre>
- <div class="yaml-action-buttons">
- <h2>{{ $t('config.actions-label') }}</h2>
- <a class="yaml-button download" @click="downloadConfigFile('conf.yml', yaml)">
- {{ $t('config.download-config-button') }}
- </a>
- <a class="yaml-button copy" @click="copyConfigToClipboard()">
- {{ $t('config.copy-config-label') }}
- </a>
- <a class="yaml-button reset" @click="resetLocalSettings()">
- {{ $t('config.reset-config-label') }}
- </a>
- </div>
- </TabItem>
<TabItem :name="$t('config.edit-config-tab')">
<JsonEditor :config="config" />
</TabItem>