Misc. tweaks for users, roles

This commit is contained in:
Lance Edgar 2021-10-14 14:18:36 -04:00
parent d61fa7b6b9
commit dd6c9cc8ce
2 changed files with 2 additions and 1 deletions

View file

@ -187,7 +187,7 @@ class RoleView(PrincipalMasterView):
f.set_type('notes', 'text_wrapped')
# users
if use_buefy and self.viewing or self.deleting:
if use_buefy and self.viewing:
f.set_renderer('users', self.render_users)
else:
f.remove('users')

View file

@ -52,6 +52,7 @@ class UserView(PrincipalMasterView):
has_rows = True
model_row_class = model.UserEvent
has_versions = True
touchable = True
grid_columns = [
'username',