role table dropdown hiding fix

This commit is contained in:
Yuri Kuznetsov
2024-01-31 12:30:22 +02:00
parent b052eacba7
commit 4837474bb0
+1 -1
View File
@@ -784,7 +784,7 @@ class RoleRecordTableView extends View {
* @param {string} value
*/
onSelectAccess(scope, value) {
const $dropdowns = this.$el.find(`select[data-scope="${scope}"]`);
const $dropdowns = this.$el.find(`.scope-level select[data-scope="${scope}"]`);
if (value !== 'enabled') {
$dropdowns.attr('disabled', 'disabled');