File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 3838 @click =" showMenu"
3939 >
4040 <VIcon
41- name =" ri-menu-line "
41+ name =" ri-menu-fill "
4242 />
4343 </button >
4444 </div >
112112 />
113113 </div >
114114 <div
115- v-show =" searchModalOpened"
115+ v-if =" searchModalOpened"
116116 class =" flex justify-center items-center"
117117 >
118118 <DsfrSearchBar
Original file line number Diff line number Diff line change 1212 <VIcon
1313 v-if =" icon"
1414 :name =" icon"
15+ :label =" iconOnly ? label : undefined"
1516 :class =" {
1617 'icon-right': iconRight,
17- 'icon-left': !iconRight,
18+ 'icon-left': !iconOnly && ! iconRight,
1819 }"
1920 />
20- <span >{{ label }}</span >
21+ <span v-if = " !iconOnly " >{{ label }}</span >
2122 </component >
2223</template >
2324
@@ -29,6 +30,7 @@ export default {
2930 type: String ,
3031 default: ' ' ,
3132 },
33+ iconOnly: Boolean ,
3234 iconRight: Boolean ,
3335 icon: {
3436 type: String ,
You can’t perform that action at this time.
0 commit comments