mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 15:53:09 +02:00
誰もフォローしていないときはローカルタイムラインを表示するように
This commit is contained in:
parent
638a2ab684
commit
c6492d3d58
2 changed files with 12 additions and 0 deletions
|
@ -31,6 +31,12 @@ export default Vue.extend({
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
|
created() {
|
||||||
|
if ((this as any).os.i.followingCount == 0) {
|
||||||
|
this.src = 'local';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
(this.$refs.tl as any).$once('loaded', () => {
|
(this.$refs.tl as any).$once('loaded', () => {
|
||||||
this.$emit('loaded');
|
this.$emit('loaded');
|
||||||
|
|
|
@ -75,6 +75,12 @@ export default Vue.extend({
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
created() {
|
||||||
|
if ((this as any).os.i.followingCount == 0) {
|
||||||
|
this.src = 'local';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
mounted() {
|
mounted() {
|
||||||
document.title = 'Misskey';
|
document.title = 'Misskey';
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue