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(sheet): find-replace replaceAll only effect on the active sheet #2202

Merged
merged 2 commits into from
May 9, 2024

Conversation

siam-ese
Copy link
Contributor

@siam-ese siam-ese commented May 9, 2024

close #2163

@univer-bot univer-bot bot added the qa:untested This PR is ready to be tested label May 9, 2024
Copy link

github-actions bot commented May 9, 2024

View Deployment

📑 Examples 📚 Storybook
🔗 Preview link 🔗 Preview link

@oumomomo oumomomo added the qa:verified This PR has already by verified by a QA and is considered good enough to be merge label May 9, 2024
@univer-bot univer-bot bot removed the qa:untested This PR is ready to be tested label May 9, 2024
let { subUnitId, unitId } = params;
if (!subUnitId || !unitId) {
const univerInstanceService = accessor.get(IUniverInstanceService);
const target = getSheetCommandTarget(univerInstanceService);
Copy link
Member

Choose a reason for hiding this comment

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

这里可以通过把 unitIdsubUnitId 直接传递给 getSheetCommandTarget 方法,方法里已经处理了这些逻辑

Copy link
Contributor Author

@siam-ese siam-ese May 9, 2024

Choose a reason for hiding this comment

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

@wzhudev 修改了, 麻烦再看下

Copy link
Member

@wzhudev wzhudev left a comment

Choose a reason for hiding this comment

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

LGTM

@wzhudev wzhudev merged commit 0ed9f56 into dream-num:dev May 9, 2024
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
qa:verified This PR has already by verified by a QA and is considered good enough to be merge
Projects
None yet
3 participants