Closed rwx-yxu closed 1 year ago
Visit the preview URL for this PR (updated for commit fabca70):
https://adv-web-grp1--pr53-feature-data-grid-0vvdno0e.web.app
(expires Tue, 02 May 2023 20:56:14 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: e45f8bd17b7de44787580bea572e36aa09784b8c
I am still missing a confirmation modal before just allowing the delete to happen.
We do have a model component but it is just a template. No actions. Nothing to check what has been clicked.
Solution is to create a slot for the modal component actions. This means that you can attach a function on the button being defined for the modal actions slot. The default remains so it does not impact the existing use cases.
Display data page which outputs the full data grid along with an actions header which contains a delete button. The delete button should only be present if the user has created the data.