Skip to content

Commit

Permalink
fix(icons): fix atom usage (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
rogefm authored Feb 25, 2025
1 parent 1f5c605 commit 353c5f2
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion webapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "webapp",
"version": "1.37.0",
"version": "1.37.1",
"scripts": {
"ancient": "clojure -Sdeps '{:deps {com.github.liquidz/antq {:mvn/version \"RELEASE\"}}}' -m antq.core",
"genversion": "npx genversion src/webapp/version.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
[:figure {:class "w-4"}
[:img {:src (connection-constants/get-connection-icon
{:type type :subtype subtype}
(if dark?
(if @dark?
:light
:dark))
:class "w-4"}]]]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
(when selected? "bg-primary-11 light text-gray-1"))}
[:> Flex {:align "center" :gap "2"}
[:> Box {:class "w-4"}
[:img {:src (connection-constants/get-connection-icon connection (if dark-mode?
[:img {:src (connection-constants/get-connection-icon connection (if @dark-mode?
:light
:dark))
:class "w-4"}]]
Expand Down
2 changes: 1 addition & 1 deletion webapp/src/webapp/webclient/log_area/main.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
:execution-time (:execution_time (:data %))
:classes "h-full"}) @question-responses)
tabular-data (:data @script-response)
tabular-status (:status (first @script-response))
tabular-status (:status @script-response)
tabular-loading? (= tabular-status :loading)
sanitize-results (when-not (nil? (:output tabular-data))
(cs/replace (:output tabular-data) #"∞" "\t"))
Expand Down

0 comments on commit 353c5f2

Please sign in to comment.