Просмотр исходного кода

fix(editor): wrong cookie render

Close #8841
Andelf 2 лет назад
Родитель
Сommit
2ca70373af
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/main/frontend/components/block.cljs

+ 1 - 1
src/main/frontend/components/block.cljs

@@ -1611,7 +1611,7 @@
 
          ["Cookie" ["Percent" n]]
          [:span {:class "cookie-percent"}
-          (util/format "[d%%]" n)]
+          (util/format "[%d%%]" n)]
          ["Cookie" ["Absolute" current total]]
          [:span {:class "cookie-absolute"}
           (util/format "[%d/%d]" current total)]