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

View file

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

View file

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

View file

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