Refactored all forms to disable all fields without edit permission

This commit is contained in:
Thaum Rystra
2020-05-20 16:40:47 +02:00
parent 048b150c88
commit 32eb85a099
45 changed files with 455 additions and 719 deletions

View File

@@ -11,7 +11,7 @@ import Computed from '/imports/ui/components/computation/Computed.vue';
export default {
inject: {
computationContext: { default: {} }
context: { default: {} }
},
components: {
Computed,
@@ -24,8 +24,8 @@ export default {
},
computed: {
scope(){
return this.computationContext.creature &&
this.computationContext.creature.variables;
return this.context.creature &&
this.context.creature.variables;
}
}
}