Newer
Older

Tobias Ullerich
committed
id: 'name',
type: 'textinput',
label: 'Pad Name',
default: '',
},
],
callback: async (event) => {

Tobias Ullerich
committed
const pad = self.currentProject.findPadByName(event.options.name);
if (!pad) {
self.log('warning', 'Cannot find a pad with name ' + event.options.name);

Tobias Ullerich
committed
}
self.sendToWebSocket('cart-action', {

Tobias Ullerich
committed
'pad': pad.id