fix: use correct prop for CreateEdit

This commit is contained in:
Dominik Pschenitschni 2021-10-17 17:28:44 +02:00
parent 36d5262f1d
commit 3f61c6b21a
No known key found for this signature in database
GPG key ID: B257AC0149F43A77
4 changed files with 4 additions and 4 deletions

View file

@ -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>

View file

@ -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

View file

@ -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>

View file

@ -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>