Skip to content
Snippets Groups Projects
Verified Commit 26a8a608 authored by Marc Hanisch's avatar Marc Hanisch
Browse files

setter instead of method

parent 558437ae
No related branches found
No related tags found
2 merge requests!104Load and save Generic Device Actions,!93Actions UI for devices
......@@ -75,7 +75,7 @@ permissions and limitations under the Licence.
<v-card-text>
<v-select
v-model="chosenKindOfAction"
:items="getActionTypeItems()"
:items="actionTypeItems"
:item-text="(x) => x.name"
:item-value="(x) => x"
clearable
......@@ -578,7 +578,7 @@ export default class ActionAddPage extends Vue {
})
}
getActionTypeItems (): IOptionsForActionType[] {
get actionTypeItems (): IOptionsForActionType[] {
return [
...this.specialActionTypes,
...this.genericActionTypes.map((i) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment