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') f.set_type('notes', 'text_wrapped')
# users # users
if use_buefy and self.viewing or self.deleting: if use_buefy and self.viewing:
f.set_renderer('users', self.render_users) f.set_renderer('users', self.render_users)
else: else:
f.remove('users') f.remove('users')

View file

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