mirror of https://github.com/logseq/logseq
fix: page parameter for plugins
parent
ce5f9965ed
commit
2f03dbb070
|
@ -147,7 +147,7 @@
|
|||
(for [[_ {:keys [label] :as cmd} action pid] (state/get-plugins-commands-with-type :page-menu-item)]
|
||||
{:title label
|
||||
:options {:on-click #(commands/exec-plugin-simple-command!
|
||||
pid (assoc cmd :page (state/get-current-page)) action)}}))
|
||||
pid (assoc cmd :page page-name) action)}}))
|
||||
|
||||
(when developer-mode?
|
||||
{:title "(Dev) Show page data"
|
||||
|
|
Loading…
Reference in New Issue