fix: use correct prop for CreateEdit
This commit is contained in:
parent
36d5262f1d
commit
3f61c6b21a
4 changed files with 4 additions and 4 deletions
|
@ -2,7 +2,7 @@
|
|||
<create-edit
|
||||
:title="$t('label.create.title')"
|
||||
@create="newLabel()"
|
||||
:create-disabled="label.title === ''"
|
||||
:primary-disabled="label.title === ''"
|
||||
>
|
||||
<div class="field">
|
||||
<label class="label" for="labelTitle">{{ $t('label.attributes.title') }}</label>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<create-edit :title="$t('list.create.header')" @create="newList()" :create-disabled="list.title === ''">
|
||||
<create-edit :title="$t('list.create.header')" @create="newList()" :primary-disabled="list.title === ''">
|
||||
<div class="field">
|
||||
<label class="label" for="listTitle">{{ $t('list.title') }}</label>
|
||||
<div
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<create-edit
|
||||
:title="$t('namespace.create.title')"
|
||||
@create="newNamespace()"
|
||||
:create-disabled="namespace.title === ''"
|
||||
:primary-disabled="namespace.title === ''"
|
||||
>
|
||||
<div class="field">
|
||||
<label class="label" for="namespaceTitle">{{ $t('namespace.attributes.title') }}</label>
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<create-edit
|
||||
:title="$t('team.create.title')"
|
||||
@create="newTeam()"
|
||||
:create-disabled="team.name === ''"
|
||||
:primary-disabled="team.name === ''"
|
||||
>
|
||||
<div class="field">
|
||||
<label class="label" for="teamName">{{ $t('team.attributes.name') }}</label>
|
||||
|
|
Loading…
Reference in a new issue