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: fix current render handling in desktop controller #2067

Merged
merged 2 commits into from Apr 25, 2024

Conversation

wzhudev
Copy link
Member

@wzhudev wzhudev commented Apr 24, 2024

No description provided.

@@ -76,6 +76,8 @@ export class DesktopUIController extends Disposable implements IDesktopUIControl
this._renderManagerService.currentRender$.subscribe((renderId) => {
if (renderId) {
const render = this._renderManagerService.getRenderById(renderId)!;
if (!render.unitId) return;
Copy link
Contributor

Choose a reason for hiding this comment

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

Under what circumstances does unitId not exist?

Copy link
Member Author

Choose a reason for hiding this comment

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

Cell editors.

Copy link

codecov bot commented Apr 25, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 29.71%. Comparing base (e440e04) to head (83ef730).

Files Patch % Lines
...es/ui/src/controllers/ui/ui-desktop.controller.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              dev    #2067      +/-   ##
==========================================
- Coverage   29.71%   29.71%   -0.01%     
==========================================
  Files        1178     1178              
  Lines       63982    63983       +1     
  Branches    13589    13590       +1     
==========================================
  Hits        19011    19011              
- Misses      44971    44972       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Apr 25, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

@wzhudev wzhudev merged commit ddbeb02 into dev Apr 25, 2024
9 checks passed
@wzhudev wzhudev deleted the wzhudev/fix-render-with-no-id branch April 25, 2024 03:32
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

3 participants