Skip to content
Snippets Groups Projects
Commit 4f8b5519 authored by moon's avatar moon
Browse files

The sync information is accessible from public

parent 5aa419c6
No related branches found
No related tags found
No related merge requests found
......@@ -520,9 +520,6 @@ export default {
};
},
computed: {
jwt: function () {
return this.$store.getters['User/jwt'];
},
userData: function () {
return this.$store.getters['User/userData'];
},
......@@ -554,11 +551,6 @@ export default {
vm.axios.get(
url,
{
headers: {
Authorization: `Bearer ${vm.jwt}`,
},
}
).then((dat) => {
let data = _.map(dat.data.data, e => new Date(Date.parse(e.attributes.SyncedAt)));
vm.lastUpdated = _.max(data)
......
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