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!

:adhesive_bandage: Don't show add-new-sec on single-sec view

Alicia Sykes8a6b46b49dde
diff --git a/src/views/Home.vue b/src/views/Home.vue
index 84b21cb4..01c02f75 100644
--- a/src/views/Home.vue
+++ b/src/views/Home.vue
@@ -47,7 +47,7 @@
/>
</template>
<!-- Show add new section button, in edit mode -->
- <AddNewSection v-if="isEditMode" />
+ <AddNewSection v-if="isEditMode && !singleSectionView" />
</div>
<!-- Show message when there's no data to show -->
<div v-if="checkIfResults() && !isEditMode" class="no-data">