Skip to content

Commit

Permalink
Merge pull request #22 from udus122/feature/remove-command-id-prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
udus122 authored Jun 13, 2024
2 parents de6aff3 + d578d31 commit a07975c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Operator } from "./operations";
export function createCommands(app: UnsafeApp, settings: Settings): Command[] {
return [
{
id: "dataview-publisher-insert-block",
id: "insert-block",
name: "Insert dataview publish block",
editorCallback: (editor) => {
const { line, ch } = editor.getCursor();
Expand All @@ -33,15 +33,15 @@ export function createCommands(app: UnsafeApp, settings: Settings): Command[] {
},
},
{
id: "dataview-publisher-update-blocks",
id: "update-blocks",
name: "Update dataview publish blocks",
callback: () => {
const operator = new Operator(app);
operator.updateFromSource(settings.source);
},
},
{
id: "dataview-publisher-update-blocks-and-publish",
id: "update-blocks-and-publish",
name: "Update dataview publish blocks and open publish panel",
callback: () => {
const operator = new Operator(app);
Expand Down

0 comments on commit a07975c

Please sign in to comment.