Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Simplify logic for Panel.enabled property
With this change, having a panel status set in the cookies exits earlier, as it isn't needed to retrieve the Django settings and panel name to calculate the default value.
- Loading branch information
1 parent
9f0b938
commit f138780
Showing
1 changed file
with
9 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters