-
Notifications
You must be signed in to change notification settings - Fork 8.9k
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: Hide assistant button when showing Click to connect #10932
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Left a minor comment but good to go without it.
@@ -177,6 +177,7 @@ const isAskAssistantAvailable = computed( | |||
documentationUrl.value.includes(DOCS_DOMAIN) && | |||
props.credentialProperties.length && | |||
props.credentialPermissions.update && | |||
!(props.isOAuthType && props.requiredPropertiesFilled) && |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: Can be simplified a bit:
const isAskAssistantAvailable = computed(() => {
return (
documentationUrl.value?.includes(DOCS_DOMAIN) &&
props.credentialProperties.length &&
props.credentialPermissions.update &&
!(props.isOAuthType && props.requiredPropertiesFilled) &&
assistantStore.isAssistantEnabled
);
});
✅ All Cypress E2E specs passed |
n8n Run #7009
Run Properties:
|
Project |
n8n
|
Branch Review |
ado-2621
|
Run status |
Passed #7009
|
Run duration | 04m 22s |
Commit |
d0a302cb37: 🌳 🖥️ browsers:node18.12.0-chrome107 🤖 mutdmour 🗃️ e2e/*
|
Committer | Mutasem Aldmour |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
1
|
Pending |
0
|
Skipped |
0
|
Passing |
432
|
View all changes introduced in this branch ↗︎ |
Got released with |
Summary
Related Linear tickets, Github issues, and Community forum posts
Review / Merge checklist
release/backport
(if the PR is an urgent fix that needs to be backported)