Back to Rxdb

Hero Edit.Component

examples/angular/src/app/components/hero-edit/hero-edit.component.html

17.1.0398 B
Original Source

@if (data.hero) {

{{this.data.hero.name}}Edit @if (!synced) {

Warning:

Someone else has changed this document. If you click save, you will overwrite the changes.

resync } @if ((data.hero.deleted$ | async)) {

Error:

Someone else has deleted this document. You can not save anymore.

} @if (error) { {{error}} }

cancel @if (!(data.hero.deleted$ | async)) { submit } }