Merge branch 'fix-delete-button-on-main-table-view' into 'master'
Fix the "delete" button in the table view See merge request phyks/Flatisfy!33
This commit is contained in:
commit
4ef32a5653
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user