Fix Records (#9802)

This commit is contained in:
Geeves
2020-08-28 16:15:18 +02:00
committed by GitHub
parent 4551b8b7bc
commit a80ed8b76f
2 changed files with 7 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
author: Geeves
delete-after: True
changes:
- bugfix: "It is now possible to create new records in authorized record programs again."

View File

@@ -4,7 +4,7 @@
<div v-for="record in filtered" :key="record.id">
<vui-button :params="{ setactive: record.id }" @click="state.activeview = state.defaultview" push-state>{{ record.id }}: {{ record.name }} ({{ record.rank }})</vui-button>
</div>
<vui-button v-if="(editable & 1) > 0" :params="{ newrecord: 1 }" @click="state.activeview = state.defaultview" push-state>New record</vui-button>
<vui-button :v-if="(editable & 1) > 0" :params="{ newrecord: 1 }" @click="state.activeview = state.defaultview" push-state>New record</vui-button>
</div>
</template>