1
0
Эх сурвалжийг харах

fix: don't show alert when publishing

Tienson Qin 4 жил өмнө
parent
commit
9395a18ed1

+ 2 - 1
src/main/frontend/components/widgets.cljs

@@ -136,7 +136,8 @@
 
 (rum/defc demo-graph-alert
   []
-  (when (config/demo-graph?)
+  (when (and (config/demo-graph?)
+             (not config/publishing?))
     (ui/admonition
      :warning
      [:p (util/format