1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-05-06 18:00:04 +00:00

Resolve "Trash (never delete anything)"

This commit is contained in:
Nigel Gott 2021-07-09 08:29:08 +00:00
parent eecac39d35
commit 6e5ce3846a
119 changed files with 6266 additions and 655 deletions
web-frontend/modules/database/components/view/grid

View file

@ -460,6 +460,11 @@ export default {
getScrollTop,
}
)
await this.$store.dispatch('notification/restore', {
trash_item_type: 'row',
parent_trash_item_id: this.table.id,
trash_item_id: row.id,
})
} catch (error) {
notifyIf(error, 'row')
}