Edit lines bugfix which only shows in vue prod mode

This commit is contained in:
PMKuipers 2023-08-15 15:43:54 +02:00
parent fb3221312d
commit 44b954c47c
5 changed files with 11 additions and 23814 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

11905
amd/build/vue.min.js vendored

File diff suppressed because one or more lines are too long

View File

@ -1216,7 +1216,7 @@ export default {
* T-STUDYPLAN
*/
Vue.component('t-studyplan', {
props: ['value', 'index'],
props: ['value', 'index', ],
data() {
return {
config: {
@ -1812,6 +1812,9 @@ export default {
} else {
return false;
}
},
editable() {
return true;
}
},
methods: {
@ -1837,10 +1840,10 @@ export default {
</div>
<div class='controlbox'>
<template v-if='editable || deletable'>
<span class='control editable'>
<span class='control editable' v-if='editable'>
<a href='#' @click='onEdit'><i class='fa fa-pencil'></i></a>
</span>
<span class='control deletable'>
<span class='control deletable' v-if='deletable'>
<a v-if='deletable' href='#' @click='onDelete'><i class='text-danger fa fa-trash'></i></a>
</span>
</template>

File diff suppressed because one or more lines are too long