Merge branch 'bug/roles-trace' into 'dev'

Fix traceback on roles config redundant nav

See merge request crafty-controller/crafty-4!452
This commit is contained in:
Iain Powrie 2022-09-19 20:36:45 +00:00
commit 63c9f1cff6
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,8 @@
### New features
TBD
### Bug fixes
Fixed bug where trying to reconfigure unloaded server would stack [Commit](https://gitlab.com/crafty-controller/crafty-4/-/commit/1b2fef06fb3b02b76c9506caf7e07e932df95fab)
- Fixed bug where trying to reconfigure unloaded server would stack [Commit](https://gitlab.com/crafty-controller/crafty-4/-/commit/1b2fef06fb3b02b76c9506caf7e07e932df95fab)
- Fixes traceback error when a user click the roles config tab while already on the roles config page; **this is for new role creation only**([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/452))
### Tweaks
TBD
### Lang

View File

@ -39,7 +39,7 @@
<div class="card-body pt-0">
<ul class="nav nav-tabs col-md-12 tab-simple-styled " role="tablist">
<li class="nav-item">
<a class="nav-link active" href="/panel/edit_role?id={{ data['role']['role_id'] }}&subpage=config" role="tab" aria-selected="true">
<a class="nav-link active" href="" role="tab" aria-selected="true">
<i class="fas fa-cogs"></i>{{ translate('rolesConfig', 'config', data['lang']) }}</a>
</li>
<!-- <li class="nav-item">