Skip to content

Commit

Permalink
Tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
amcclain committed Sep 17, 2024
1 parent c04cf98 commit 3280fe5
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,9 @@ class AlertBannerService extends BaseService {
// Implementation
//-----------------------------
private void readFromSpec() {
def conf = configService.getMap('xhAlertBannerConfig'),
newSpec = emptyAlert
def newSpec = emptyAlert

if (conf.enabled) {
if (configService.getMap('xhAlertBannerConfig').enabled) {
def spec = getAlertSpec(),
expires = spec.expires as Long

Expand Down

0 comments on commit 3280fe5

Please sign in to comment.