hide groups for "add favorite" if you have no rights to set it for other groups

This commit is contained in:
milan 2024-11-20 16:45:46 +01:00
parent b2c4fea191
commit 5d968c567f
3 changed files with 13 additions and 0 deletions

View File

@ -7155,6 +7155,10 @@ img.et2_button_icon[src*="svg"]:hover {
--et2-button-image-padding-left: 0; --et2-button-image-padding-left: 0;
padding-inline-start: 0; padding-inline-start: 0;
} }
/*New favorite hide groups if no rights */
et2-dialog div#add_favorite et2-select-account_ro {
display: none;
}
:root, :root,
:host, :host,
.sl-theme-light, .sl-theme-light,

View File

@ -7148,3 +7148,7 @@ img.et2_button_icon[src*="svg"]:hover {
--et2-button-image-padding-left: 0; --et2-button-image-padding-left: 0;
padding-inline-start: 0; padding-inline-start: 0;
} }
/*New favorite hide groups if no rights */
et2-dialog div#add_favorite et2-select-account_ro {
display: none;
}

View File

@ -424,4 +424,9 @@ img.et2_button_icon[src*="svg"], img.et2_button_icon[src*="svg"]:hover {
justify-content: center; justify-content: center;
--et2-button-image-padding-left: 0; --et2-button-image-padding-left: 0;
padding-inline-start: 0; padding-inline-start: 0;
}
/*New favorite hide groups if no rights */
et2-dialog div#add_favorite et2-select-account_ro{
display: none;
} }