mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
4.0.2-hotfix1
Fix blank server_detail page for general users See merge request !358
This commit is contained in:
@ -1,5 +1,10 @@
|
|||||||
# Changelog
|
# 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
|
## [4.0.2] - 2022/06/16
|
||||||
|
|
||||||
### New features
|
### New features
|
||||||
|
@ -183,6 +183,7 @@ class PanelHandler(BaseHandler):
|
|||||||
logger.debug(f'User {exec_user["user_id"]} does not have permission')
|
logger.debug(f'User {exec_user["user_id"]} does not have permission')
|
||||||
self.redirect("/panel/error?error=Invalid Server ID")
|
self.redirect("/panel/error?error=Invalid Server ID")
|
||||||
return None
|
return None
|
||||||
|
return server_id
|
||||||
|
|
||||||
# Server fetching, spawned asynchronously
|
# Server fetching, spawned asynchronously
|
||||||
# TODO: Make the related front-end elements update with AJAX
|
# TODO: Make the related front-end elements update with AJAX
|
||||||
|
Reference in New Issue
Block a user