From 020e800e429bc810ea93c9d59aa1e799b23c6d00 Mon Sep 17 00:00:00 2001 From: Theodlz Date: Mon, 25 Sep 2023 15:50:07 -0700 Subject: [PATCH] don't show autosave option if autosave is not active --- extensions/skyportal/skyportal/handlers/api/alert.py | 1 - 1 file changed, 1 deletion(-) diff --git a/extensions/skyportal/skyportal/handlers/api/alert.py b/extensions/skyportal/skyportal/handlers/api/alert.py index 267ea96b..dd8e483a 100644 --- a/extensions/skyportal/skyportal/handlers/api/alert.py +++ b/extensions/skyportal/skyportal/handlers/api/alert.py @@ -1057,7 +1057,6 @@ def post(self, objectId): except Exception as e: return self.error(f"Alert failed to post: {str(e)}") - self.push_all(action="skyportal/FETCH_SOURCES") self.push_all(action="skyportal/FETCH_RECENT_SOURCES") return self.success(