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: pass view as prop to EmptyView #1147

Merged
merged 2 commits into from
Jun 18, 2024
Merged

fix: pass view as prop to EmptyView #1147

merged 2 commits into from
Jun 18, 2024

Conversation

enjeck
Copy link
Contributor

@enjeck enjeck commented Jun 17, 2024

When an empty view is in a context, sometimes, the activeView is null which breaks the component. It's better if we just pass in the view as a prop, just like we do for EmptyTable.

Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
Signed-off-by: Cleopatra Enjeck M <patrathewhiz@gmail.com>
@enjeck enjeck self-assigned this Jun 17, 2024
@enjeck enjeck added enhancement New feature or request 3. to review Waiting for reviews labels Jun 17, 2024
@juliushaertl juliushaertl merged commit eb87eb4 into main Jun 18, 2024
45 checks passed
@juliushaertl juliushaertl deleted the fix-empty-view branch June 18, 2024 10:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request
Projects
Status: ☑️ Done
Development

Successfully merging this pull request may close these issues.

None yet

3 participants