forked from mirrors/misskey
誰もフォローしていないときはローカルタイムラインを表示するように
This commit is contained in:
parent
638a2ab684
commit
c6492d3d58
|
@ -31,6 +31,12 @@ export default Vue.extend({
|
|||
};
|
||||
},
|
||||
|
||||
created() {
|
||||
if ((this as any).os.i.followingCount == 0) {
|
||||
this.src = 'local';
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
(this.$refs.tl as any).$once('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() {
|
||||
document.title = 'Misskey';
|
||||
|
||||
|
|
Loading…
Reference in a new issue