Commit 4ef32a56 authored by Phyks's avatar Phyks

Merge branch 'fix-delete-button-on-main-table-view' into 'master'

Fix the "delete" button in the table view

See merge request !33
parents 5da06280 ef896f99
Pipeline #84075 failed with stage
in 7 minutes and 27 seconds
......@@ -118,9 +118,6 @@ export default {
},
methods: {
updateFlatStatus (id, status) {
this.$store.dispatch('updateFlatStatus', { flatId: id, newStatus: status })
},
updateSortBy (field) {
if (this.sortBy === field) {
if (this.sortOrder === 'up') {
......
......@@ -86,6 +86,12 @@ export default {
return range(this.flat.notation);
},
},
methods: {
updateFlatStatus (id, status) {
this.$store.dispatch('updateFlatStatus', { flatId: id, newStatus: status })
},
},
};
</script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment