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
|
<create-edit
|
||||||
:title="$t('label.create.title')"
|
:title="$t('label.create.title')"
|
||||||
@create="newLabel()"
|
@create="newLabel()"
|
||||||
:create-disabled="label.title === ''"
|
:primary-disabled="label.title === ''"
|
||||||
>
|
>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label" for="labelTitle">{{ $t('label.attributes.title') }}</label>
|
<label class="label" for="labelTitle">{{ $t('label.attributes.title') }}</label>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<template>
|
<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">
|
<div class="field">
|
||||||
<label class="label" for="listTitle">{{ $t('list.title') }}</label>
|
<label class="label" for="listTitle">{{ $t('list.title') }}</label>
|
||||||
<div
|
<div
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<create-edit
|
<create-edit
|
||||||
:title="$t('namespace.create.title')"
|
:title="$t('namespace.create.title')"
|
||||||
@create="newNamespace()"
|
@create="newNamespace()"
|
||||||
:create-disabled="namespace.title === ''"
|
:primary-disabled="namespace.title === ''"
|
||||||
>
|
>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label" for="namespaceTitle">{{ $t('namespace.attributes.title') }}</label>
|
<label class="label" for="namespaceTitle">{{ $t('namespace.attributes.title') }}</label>
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
<create-edit
|
<create-edit
|
||||||
:title="$t('team.create.title')"
|
:title="$t('team.create.title')"
|
||||||
@create="newTeam()"
|
@create="newTeam()"
|
||||||
:create-disabled="team.name === ''"
|
:primary-disabled="team.name === ''"
|
||||||
>
|
>
|
||||||
<div class="field">
|
<div class="field">
|
||||||
<label class="label" for="teamName">{{ $t('team.attributes.name') }}</label>
|
<label class="label" for="teamName">{{ $t('team.attributes.name') }}</label>
|
||||||
|
|
Loading…
Reference in a new issue