We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 679c2d0 commit 9d6aba4Copy full SHA for 9d6aba4
src/components/NcAppSidebar/NcAppSidebar.vue
@@ -668,8 +668,8 @@ export default {
668
<slot name="content" />
669
</div>
670
671
-
672
- <NcButton ref="closeButton"
+ <NcButton v-if="!noClose"
+ ref="closeButton"
673
:aria-label="closeTranslated"
674
:title="closeTranslated"
675
class="app-sidebar__close"
@@ -840,7 +840,14 @@ export default {
840
type: Boolean,
841
default: false,
842
},
843
+ /**
844
+ * Do not show the close button for the sidebar.
845
+ * @default false
846
+ */
847
+ noClose: {
848
+ type: Boolean,
849
+ default: false,
850
+ },
851
/**
852
* Force the actions to display in a three dot menu
853
*/
0 commit comments