feat: add change icon
This commit is contained in:
parent
3dc026ef0f
commit
2e608081ea
2 changed files with 12 additions and 3 deletions
|
|
@ -62,9 +62,11 @@ class UserProfile {
|
|||
}
|
||||
|
||||
setup_user_search() {
|
||||
this.$user_search_button = this.page.set_secondary_action(__('Change User'), () => {
|
||||
this.show_user_search_dialog();
|
||||
});
|
||||
this.$user_search_button = this.page.set_secondary_action(
|
||||
__('Change User'),
|
||||
() => this.show_user_search_dialog(),
|
||||
{ icon: 'change', size: 'sm' }
|
||||
);
|
||||
}
|
||||
|
||||
show_user_search_dialog() {
|
||||
|
|
|
|||
|
|
@ -618,4 +618,11 @@
|
|||
<symbol viewBox="0 0 8 7" fill="none" xmlns="http://www.w3.org/2000/svg" id="icon-check">
|
||||
<path d="M1 4.00001L2.66667 5.80001L7 1.20001" stroke="var(--icon-stroke)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</symbol>
|
||||
<symbol viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg" id="icon-change">
|
||||
<path d="M13.2818 11.5388H2.59961" stroke="#4C5A67" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M5.06069 14L2.59961 11.539L5.06069 9.07788" stroke="#4C5A67" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M2.91406 4.46118H12.9679" stroke="#4C5A67" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
<path d="M10.5059 2L12.9669 4.46108L10.5059 6.92217" stroke="#4C5A67" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
|
||||
</symbol>
|
||||
|
||||
</svg>
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 77 KiB |
Loading…
Add table
Reference in a new issue