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

Remove Keyword Method Issue #34

Open
harshadsatra opened this issue Mar 8, 2021 · 4 comments
Open

Remove Keyword Method Issue #34

harshadsatra opened this issue Mar 8, 2021 · 4 comments

Comments

@harshadsatra
Copy link

removeKeyword(keywordToRemove, negatedToRemove) {

Solution:
removeKeyword(keywordToRemove, negatedToRemove) { this.textSegments = this.textSegments.filter( ({ value, negated }) => keywordToRemove !== value || negatedToRemove !== negated ); this.isStringDirty = true; }

@bradvogel
Copy link
Contributor

Hi, what's this?

@harshadsatra
Copy link
Author

The removeKeyword(keywordToRemove, negatedToRemove) method does not work in the searchString.js file

That is the solution that worked for me.

@bradvogel
Copy link
Contributor

oh ok. Does a change need to be made to our documentation?

@harshadsatra
Copy link
Author

No..Only the method needs to be updated

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

No branches or pull requests

2 participants