diff --git a/flatisfy/web/js_src/router/index.js b/flatisfy/web/js_src/router/index.js index 627a459..00e7246 100644 --- a/flatisfy/web/js_src/router/index.js +++ b/flatisfy/web/js_src/router/index.js @@ -10,6 +10,7 @@ Vue.use(VueRouter) export default new VueRouter({ routes: [ { path: '/', component: Home, name: 'home' }, + { path: '/new', redirect: '/' }, { path: '/followed', component: Status, name: 'followed' }, { path: '/ignored', component: Status, name: 'ignored' }, { path: '/user_deleted', component: Status, name: 'user_deleted' }, diff --git a/flatisfy/web/js_src/views/details.vue b/flatisfy/web/js_src/views/details.vue index c54ad60..16c7710 100644 --- a/flatisfy/web/js_src/views/details.vue +++ b/flatisfy/web/js_src/views/details.vue @@ -3,9 +3,9 @@

- + - + ({{ flat.status ? capitalize(flat.status) : '' }}) {{ flat.title }} [{{ flat.id.split("@")[1] }}]

@@ -211,10 +211,6 @@ export default { this.$store.dispatch('getAllTimeToPlaces') }, - goBack () { - return this.$router.go(-1) - }, - updateFlatStatus (status) { this.$store.dispatch('updateFlatStatus', { flatId: this.$route.params.id, newStatus: status }) }, @@ -253,10 +249,6 @@ nav ul { padding-left: 1em; } -.link { - cursor: pointer; -} - .right-panel li { margin-bottom: 1em; margin-top: 1em;