Merge branch 'dev' into 'master'

4.0.2-hotfix1

See merge request crafty-controller/crafty-4!360
This commit is contained in:
Iain Powrie 2022-06-17 14:38:33 +00:00
commit 471b1c5751
2 changed files with 6 additions and 0 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## [4.0.2-hotfix1] - 2022/06/17
### Crit Bug fixes
Fix blank server_detail page for general users ([Merge Request](https://gitlab.com/crafty-controller/crafty-4/-/merge_requests/358))
## [4.0.2] - 2022/06/16
### New features

View File

@ -183,6 +183,7 @@ class PanelHandler(BaseHandler):
logger.debug(f'User {exec_user["user_id"]} does not have permission')
self.redirect("/panel/error?error=Invalid Server ID")
return None
return server_id
# Server fetching, spawned asynchronously
# TODO: Make the related front-end elements update with AJAX