Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: list item delete (DEV-3267) #1446

Merged
merged 3 commits into from
Feb 9, 2024

Conversation

irmastnt
Copy link
Contributor

@irmastnt irmastnt commented Feb 8, 2024

resolves DEV-3267

Copy link

linear bot commented Feb 8, 2024

take(1),
switchMap(() => this.listIri$.pipe(map(listIri => this._store.dispatch(new DeleteListNodeAction(listIri)))))
)
.pipe(switchMap(() => this._actions$.pipe(ofActionSuccessful(DeleteListNodeAction), take(1))))
Copy link
Collaborator

Choose a reason for hiding this comment

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

please stop using ofActionSuccessful all the time, as this.store.dispatch(new DeleteListNodeAction) returns it

Here
.pipe( take(1), switchMap(() => this.listIri$), switchMap(listIri => this._store.dispatch(new DeleteListNodeAction(listIri)) )

@derschnee68 derschnee68 merged commit affd20f into main Feb 9, 2024
13 checks passed
@derschnee68 derschnee68 deleted the feature/dev-3267-cannot-delete-a-list branch February 9, 2024 10:01
irmastnt added a commit that referenced this pull request Feb 13, 2024
…ed-view-settings-watermark-and

* main:
  fix(dsp-das): image viewer padding, arrows style. Resource list name css adjustments (DEV-3276) (#1456)
  fix: loads all projects when membership dialog is opened (DEV-3268) (#1450)
  test: add projects, list and auth end to end tests (#1454)
  fix: add instrumentation to faro sdk (#1455)
  feat(dsp-app): image settings updates and fixes (DEV-2995) (#1451)
  fix: remove old "edit project" page url (#1452)
  chore(main): release 11.5.1 (#1449)
  chore: update dsp-js to v9.1.11 (#1447)
  chore(main): release 11.5.0 (#1442)
  fix: list item delete (DEV-3267) (#1446)

# Conflicts:
#	apps/dsp-app/src/app/project/image-settings/image-settings.component.html
#	apps/dsp-app/src/app/project/image-settings/image-settings.component.scss
#	apps/dsp-app/src/app/project/image-settings/image-settings.component.ts
#	apps/dsp-app/src/app/project/image-settings/project-image-settings.ts
#	apps/dsp-app/src/assets/i18n/de.json
#	apps/dsp-app/src/assets/i18n/en.json
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.

None yet

2 participants