🐛 Fix problems with data-value keyword

This commit is contained in:
alonso.torres 2024-01-11 15:45:12 +01:00 committed by Andrey Antukh
parent 189d0c107c
commit 6ef85ef0e8
18 changed files with 57 additions and 53 deletions

View file

@ -302,7 +302,7 @@
[:div {:class (stl/css :mode-zone)}
[:button {:on-click navigate
:data-value :interactions
:data-value "interactions"
:class (stl/css-case :mode-zone-btn true
:selected (= section :interactions))
:title (tr "viewer.header.interactions-section" (sc/get-tooltip :open-interactions))}
@ -311,7 +311,7 @@
(when (or (:can-edit permissions)
(= (:who-comment permissions) "all"))
[:button {:on-click navigate
:data-value :comments
:data-value "comments"
:class (stl/css-case :mode-zone-btn true
:selected (= section :comments))
:title (tr "viewer.header.comments-section" (sc/get-tooltip :open-comments))}