From dd6c9cc8cebddabf584bbae8395ef0d19a1a0428 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Thu, 14 Oct 2021 14:18:36 -0400 Subject: [PATCH] Misc. tweaks for users, roles --- tailbone/views/roles.py | 2 +- tailbone/views/users.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/tailbone/views/roles.py b/tailbone/views/roles.py index 8dde78b8..ded1f5cf 100644 --- a/tailbone/views/roles.py +++ b/tailbone/views/roles.py @@ -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') diff --git a/tailbone/views/users.py b/tailbone/views/users.py index b30034b4..b0f6a5de 100644 --- a/tailbone/views/users.py +++ b/tailbone/views/users.py @@ -52,6 +52,7 @@ class UserView(PrincipalMasterView): has_rows = True model_row_class = model.UserEvent has_versions = True + touchable = True grid_columns = [ 'username',