This commit is contained in:
@@ -347,7 +347,7 @@ export default {
|
|||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
localVal: this.value,todo: handle null localVal without blowing up
|
localVal: this.value,
|
||||||
currentView: 0,
|
currentView: 0,
|
||||||
reveal: false,
|
reveal: false,
|
||||||
selection: {
|
selection: {
|
||||||
@@ -383,19 +383,19 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
value: String,
|
value: { type: String, default: "" },
|
||||||
ayaType: Number,
|
ayaType: Number,
|
||||||
ayaId: Number,
|
ayaId: Number,
|
||||||
readonly: Boolean
|
readonly: Boolean
|
||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
value(value) {
|
value(value) {
|
||||||
this.localVal = value;
|
this.localVal = value ?? "";
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
compiledOutput() {
|
compiledOutput() {
|
||||||
if (this.localVal.length == 0) {
|
if (!this.localVal) {
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
//replace attachment urls with tokenized local urls
|
//replace attachment urls with tokenized local urls
|
||||||
|
|||||||
Reference in New Issue
Block a user