Fixed a bug with proficiency forms not editing proficiency correctly

This commit is contained in:
Stefan Zermatten
2020-06-16 12:35:50 +02:00
parent 3f540d0f14
commit ecba587253
3 changed files with 4 additions and 4 deletions

View File

@@ -38,7 +38,6 @@ let EffectSchema = new SimpleSchema({
},
'stats.$': {
type: String,
optional: true,
},
});

View File

@@ -12,7 +12,6 @@ let ProficiencySchema = new SimpleSchema({
},
'stats.$': {
type: String,
optional: true,
},
// A number representing how proficient the character is
value: {

View File

@@ -9,9 +9,11 @@
/>
<div class="layout row wrap justify-start proficiency-form">
<smart-combobox
label="Skill"
label="Skills"
class="mr-2"
multiple
chips
deletable-chips
:value="model.stats"
:items="skillList"
:error-messages="errors.stats"
@@ -22,7 +24,7 @@
style="flex-basis: 300px;"
:clearable="false"
:value="model.value"
@change="change('stats', ...arguments)"
@change="change('value', ...arguments)"
/>
</div>
</div>