wip
This commit is contained in:
@@ -112,6 +112,10 @@ export default defineComponent({
|
||||
type: Array,
|
||||
required: false
|
||||
},
|
||||
initialLocalOnly: {
|
||||
type: Boolean,
|
||||
required: false
|
||||
},
|
||||
initialNote: {
|
||||
type: Object,
|
||||
required: false
|
||||
@@ -228,6 +232,10 @@ export default defineComponent({
|
||||
this.files = this.initialFiles;
|
||||
}
|
||||
|
||||
if (typeof this.initialLocalOnly === 'boolean') {
|
||||
this.localOnly = this.initialLocalOnly;
|
||||
}
|
||||
|
||||
if (this.mention) {
|
||||
this.text = this.mention.host ? `@${this.mention.username}@${toASCII(this.mention.host)}` : `@${this.mention.username}`;
|
||||
this.text += ' ';
|
||||
|
Reference in New Issue
Block a user