mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2025-03-04 07:18:50 -07:00
Fix #2428
This commit is contained in:
parent
9f16783426
commit
600d80a725
2 changed files with 12 additions and 2 deletions
|
@ -16,7 +16,7 @@ import Vue from 'vue';
|
|||
export default Vue.extend({
|
||||
data() {
|
||||
return {
|
||||
name: (this as any).os.instanceName,
|
||||
name: null,
|
||||
posted: false,
|
||||
text: new URLSearchParams(location.search).get('text')
|
||||
};
|
||||
|
@ -25,6 +25,11 @@ export default Vue.extend({
|
|||
close() {
|
||||
window.close();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
(this as any).os.getMeta().then(meta => {
|
||||
this.name = meta.name;
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
|
@ -16,7 +16,7 @@ import Vue from 'vue';
|
|||
export default Vue.extend({
|
||||
data() {
|
||||
return {
|
||||
name: (this as any).os.instanceName,
|
||||
name: null,
|
||||
posted: false,
|
||||
text: new URLSearchParams(location.search).get('text')
|
||||
};
|
||||
|
@ -25,6 +25,11 @@ export default Vue.extend({
|
|||
close() {
|
||||
window.close();
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
(this as any).os.getMeta().then(meta => {
|
||||
this.name = meta.name;
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
|
Loading…
Add table
Reference in a new issue