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

IBX-3901: Add empty field after bulk delete all authors #617

Merged
merged 2 commits into from
Nov 3, 2022

Conversation

GrabowskiM
Copy link
Contributor

Question Answer
Tickets https://issues.ibexa.co/browse/IBX-3901
Bug fix? yes
New feature? no
BC breaks? no
Tests pass? yes
Doc needed? no
License GPL-2.0

Checklist:

  • Coding standards ($ composer fix-cs)
  • Ready for Code Review

@@ -118,6 +118,12 @@

bulkDeleteButton.setAttribute('disabled', 'disabled');

const authorRowsExist = !!container.querySelector(SELECTOR_AUTHOR);
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure but maybe:

Suggested change
const authorRowsExist = !!container.querySelector(SELECTOR_AUTHOR);
const authorsRowsExist = !!container.querySelector(SELECTOR_AUTHOR);

Copy link
Contributor

Choose a reason for hiding this comment

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

This checks if at least one author row exists so authorRowExists?

@GrabowskiM GrabowskiM force-pushed the IBX-3901-author-bulk-delete-fix branch from 246d746 to ef9a00e Compare November 3, 2022 09:53
@sonarcloud
Copy link

sonarcloud bot commented Nov 3, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@dew326 dew326 merged commit 2aafda4 into 4.2 Nov 3, 2022
@dew326 dew326 deleted the IBX-3901-author-bulk-delete-fix branch November 3, 2022 11:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants