Skip to content

Commit

Permalink
fix clear for enlarge view
Browse files Browse the repository at this point in the history
  • Loading branch information
Jon CHEN 陈涌 committed Apr 17, 2024
1 parent b61868d commit 4bbca61
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 7 deletions.
36 changes: 30 additions & 6 deletions calcit.cirru

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion compact.cirru
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@
.-metaKey event
case-default (-> @*store :router :name)
do $ println "\"no thing to clear in" (-> @*store :router :name)
:home $ dispatch! (:: :process/clear)
:home $ do
dispatch! $ :: :process/clear
if-let
enlarge-view $ -> @*store :session w-js-log :enlarge-view
dispatch! $ :: :process/shorten-content enlarge-view
:history $ dispatch! (:: :process/clear-history)
:process $ dispatch!
:: :process/shorten-content $ -> @*store :router :params :id
Expand Down

0 comments on commit 4bbca61

Please sign in to comment.