mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-24 02:13: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() {
|
||||
(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