Skip to content
Snippets Groups Projects
Commit c6492d3d authored by syuilo's avatar syuilo
Browse files

誰もフォローしていないときはローカルタイムラインを表示するように

parent 638a2ab6
No related branches found
No related tags found
No related merge requests found
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment