Initial POC
This commit is contained in:
parent
8dce31d0ad
commit
334ec7175e
12 changed files with 237 additions and 119 deletions
|
@ -441,7 +441,13 @@ const Status = {
|
|||
return this.$i18n.t('general.scope_in_timeline.' + this.status.visibility)
|
||||
},
|
||||
isEdited () {
|
||||
return this.status.edited_at !== null
|
||||
if (this.status.hasOwnProperty('edited_at')) {
|
||||
return this.status.edited_at !== null
|
||||
}
|
||||
else
|
||||
{
|
||||
return false
|
||||
};
|
||||
},
|
||||
editingAvailable () {
|
||||
return this.$store.state.instance.editingAvailable
|
||||
|
@ -452,10 +458,16 @@ const Status = {
|
|||
switch (visibility) {
|
||||
case 'private':
|
||||
return 'lock'
|
||||
case 'followers':
|
||||
return 'lock'
|
||||
case 'unlisted':
|
||||
return 'lock-open'
|
||||
case 'home':
|
||||
return 'lock-open'
|
||||
case 'direct':
|
||||
return 'envelope'
|
||||
case 'specified':
|
||||
return 'specified'
|
||||
case 'local':
|
||||
return 'users'
|
||||
default:
|
||||
|
|
|
@ -172,7 +172,7 @@ const Timeline = {
|
|||
fetchOlderStatuses: throttle( function () {
|
||||
const store = this.$store
|
||||
const credentials = store.state.users.currentUser.credentials
|
||||
store.commit('setLoading', { timeline: this.timelineName, value: true })
|
||||
//store.commit('setLoading', { timeline: this.timelineName, value: true })
|
||||
timelineFetcher.fetchAndUpdate({
|
||||
store,
|
||||
credentials,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue