Skip to content

Commit

Permalink
fix: parametersOnly param
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-krakowski committed Mar 8, 2023
1 parent 64d0fc3 commit 1344ce9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion packages/status/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,6 @@ const archive = () => {
};
init();
figma.on('run', ({ parameters }) => {
console.log('test');
if (parameters) {
startPluginWithParameters(parameters);
}
Expand Down
1 change: 0 additions & 1 deletion packages/status/code.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ const archive = () => {
init()

figma.on('run', ({ parameters }: RunEvent) => {
console.log('test')
if (parameters) {
startPluginWithParameters(parameters)
}
Expand Down
5 changes: 3 additions & 2 deletions packages/status/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"id": "1213881116798748502",
"api": "1.0.0",
"main": "code.js",
"editorType": ["figma", "figjam"],
"editorType": ["figma"],
"ui": {
"main": "ui.html"
},
Expand All @@ -13,5 +13,6 @@
"key": "workStatus",
"description": "What is the work status?"
}
]
],
"parameterOnly": false
}

0 comments on commit 1344ce9

Please sign in to comment.