Fix "edit row" icon for batch row grids, for Buefy themes
This commit is contained in:
parent
355a49e463
commit
43a210cac4
|
@ -696,7 +696,8 @@ class BatchMasterView(MasterView):
|
||||||
|
|
||||||
# edit action
|
# edit action
|
||||||
if self.rows_editable:
|
if self.rows_editable:
|
||||||
actions.append(self.make_action('edit', icon='pencil', url=self.row_edit_action_url))
|
icon = 'edit' if use_buefy else 'pencil'
|
||||||
|
actions.append(self.make_action('edit', icon=icon, url=self.row_edit_action_url))
|
||||||
|
|
||||||
# delete action
|
# delete action
|
||||||
permission_prefix = self.get_permission_prefix()
|
permission_prefix = self.get_permission_prefix()
|
||||||
|
|
Loading…
Reference in a new issue