mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 10:56:32 +00:00
improve(plugin): rename api & bump minor version
This commit is contained in:
@@ -70,7 +70,7 @@ const app: Partial<IAppProxy> = {
|
||||
return false
|
||||
},
|
||||
|
||||
registerPagebarMenuItem (
|
||||
registerPageMenuItem (
|
||||
this: LSPluginUser,
|
||||
tag: string,
|
||||
action: (e: IHookEvent & { page: string }) => void
|
||||
@@ -81,7 +81,7 @@ const app: Partial<IAppProxy> = {
|
||||
|
||||
const key = tag + '_' + this.baseInfo.id
|
||||
const label = tag
|
||||
const type = 'pagebar-menu-item'
|
||||
const type = 'page-menu-item'
|
||||
|
||||
registerSimpleCommand.call(this,
|
||||
type, {
|
||||
|
||||
Reference in New Issue
Block a user