Skip to content

Commit

Permalink
fix: rename button, hide from community
Browse files Browse the repository at this point in the history
  • Loading branch information
mutdmour committed Aug 14, 2024
1 parent 76e6597 commit dccb6d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/design-system/src/locale/lang/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default {
'codeDiff.replacing': 'Replacing...',
'codeDiff.undo': 'Undo',
'betaTag.beta': 'beta',
'askAssistantButton.askAssistant': 'Ask Ava',
'askAssistantButton.askAssistant': 'Ask Assistant',
'assistantChat.errorParsingMarkdown': 'Error parsing markdown content',
'assistantChat.aiAssistantLabel': 'AI Assistant',
'assistantChat.aiAssistantName': 'Ava',
Expand Down
2 changes: 1 addition & 1 deletion packages/editor-ui/src/components/Error/NodeErrorView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ const isAskAssistantAvailable = computed(() => {
if (!node.value) {
return false;
}
const isCustomNode = node.value.type === undefined || isCommunityPackageName(node.value);
const isCustomNode = node.value.type === undefined || isCommunityPackageName(node.value.type);
return assistantStore.canShowAssistantButtons && !isCustomNode;
});
Expand Down

0 comments on commit dccb6d1

Please sign in to comment.