Skip to content

Commit

Permalink
Fix observation delete
Browse files Browse the repository at this point in the history
  • Loading branch information
newmanw committed Oct 9, 2024
1 parent ef70043 commit d2b57ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions web-app/src/app/observation/observation.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,7 @@ export class ObservationService {

archiveObservationForEvent(event, observation): Observable<any> {
return this.client.post<any>(`/api/events/${event.id}/observations/${observation.id}/states`, { name: 'archive' }).pipe(
map(observation => {
return this.transformObservations(observation, event)
})
map(() => observation)
)
}

Expand Down
2 changes: 1 addition & 1 deletion web-app/src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ app {
position: absolute !important;
left: 0;
bottom: 0;
min-width: 468px;
min-width: 500px;
}

.form-remove-snackbar {
Expand Down

0 comments on commit d2b57ef

Please sign in to comment.