Skip to content

Conversation

@augusthjerrild
Copy link
Contributor

Added message to prompt and functionality when attempting to delete application with SigFox device

…gFox device

* Added message and functionality to check and to prompt when attempting to delete application with SigFox device
Copy link
Contributor

@MadsSvejstrup MadsSvejstrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thinks there's a bit too much duplicate logic regarding the delete dialog in application-table.component and application-detail.component.

I think we could avoid this by refactoring it into a showApplicationDialog() method in DeleteDialogService

Copy link
Contributor

@MadsSvejstrup MadsSvejstrup left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good now! :)

@augusthjerrild augusthjerrild changed the base branch from master to stage January 6, 2022 13:23
@augusthjerrild augusthjerrild merged commit 101b8d8 into stage Jan 6, 2022
@augusthjerrild augusthjerrild deleted the issue/47_prompt-user-when-deleting-sigfox-application branch January 6, 2022 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deleting application in frontend doesn't remove devices from backend.

4 participants