Skip to content

Conversation

@GufCab
Copy link
Contributor

@GufCab GufCab commented Oct 27, 2021

…isting devices. Cleaned code in a few files.

The user is now notified when attempting to delete an application that has devices. Combined with PR123 in the backend repo, this fixes #47

…isting devices. Cleaned code in a few files.
"CREATE": "Opret applikation",
"SAVE": "Gem applikation",
"DELETE": "Slet applikation",
"DELETE-HAS-DEVICES-PROMPT": "Der er knyttet IoT-enheder til denne applikation. Disse vil også blive slettet. Slet alligevel?",
Copy link
Contributor

Choose a reason for hiding this comment

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

Missing english translation. Indentation should be fixed as well

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Indentation fixed. English translation not added - if we want to support english we need to fill out the entire file in one go.

getMinimal(): Observable<OrganisationGetMinimalResponse> {
return this.restService.get(this.URLMINIMAL, {}).pipe(shareReplay(1));
const test = this.restService.get(this.URLMINIMAL, {}).pipe(shareReplay(1));
console.log('Minimal Organization Response', test);
Copy link
Contributor

Choose a reason for hiding this comment

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

I guess this was not meant to be included?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Correct - removed

@GufCab GufCab requested a review from MadsSvejstrup October 29, 2021 15:01
@GufCab GufCab merged commit df4cad6 into master Nov 4, 2021
@ramogens-OS2 ramogens-OS2 deleted the issue/47_delete-devices-when-deleting-application branch November 26, 2021 14:36
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.

3 participants