Skip to content

fix: do not throw when clearing cache of an unattached grid - #7150

Merged
tomivirkki merged 1 commit into
mainfrom
fix/grid/unattached-clearcache
Feb 26, 2024
Merged

tomivirkki merged 1 commit into
mainfrom
fix/grid/unattached-clearcache

Conversation

@tomivirkki

Copy link
Copy Markdown
Member

Description

Check for this.__virtualizer in grid's clearCache before accessing it. It's possible for it to not exist if the grid hasn't yet been attached.

Type of change

Bugfix

@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@tomivirkki
tomivirkki requested a review from vursen February 26, 2024 08:33
@tomivirkki
tomivirkki merged commit 5425200 into main Feb 26, 2024
@tomivirkki
tomivirkki deleted the fix/grid/unattached-clearcache branch February 26, 2024 08:36
tomivirkki added a commit that referenced this pull request Feb 26, 2024
…7151)

Co-authored-by: Tomi Virkki <tomivirkki@users.noreply.github.com>
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.

3 participants