Skip to content

Commit 18b1c9a

Browse files
committed
Possible button actions are bound to the available methods in the Activity component
1 parent b95f4f6 commit 18b1c9a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/components/ActivityEditor.vue

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -306,10 +306,10 @@ export default {
306306
}
307307
],
308308
actions: [
309-
{ text: 'Esegui', value: 'run' },
310-
{ text: 'Salva', value: 'save' },
311-
{ text: 'Salva con Nome', value: 'saveas' },
312-
{ text: 'Mostra Codice', value: 'showcode' },
309+
{ text: 'Esegui', value: 'runProgramLegacy' },
310+
{ text: 'Salva', value: 'saveProgram' },
311+
//{ text: 'Salva con Nome', value: 'saveas' },
312+
{ text: 'Mostra Codice', value: 'getProgramCode' },
313313
],
314314
value: 0,
315315
@@ -416,14 +416,14 @@ export default {
416416
icon: 'play_arrow',
417417
colorBtn: 'green',
418418
colorText: 'white--text',
419-
action: 'run'
419+
action: 'runProgramLegacy'
420420
},
421421
{
422422
label: 'Codice',
423423
icon: 'code',
424424
colorBtn: 'blue',
425425
colorText: 'white--text',
426-
action: 'showcode'
426+
action: 'getProgramCode'
427427
}
428428
]
429429
}

0 commit comments

Comments
 (0)