mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-09 22:24:05 -08:00
feat: Update readonly node notice when using foreign credentials (no-changelog) (#4895)
This commit is contained in:
parent
3fc2d7cc5a
commit
b4d3f12b51
|
@ -73,7 +73,7 @@
|
|||
>
|
||||
<n8n-notice
|
||||
v-if="hasForeignCredential"
|
||||
:content="$locale.baseText('nodeSettings.hasForeignCredential')"
|
||||
:content="$locale.baseText('nodeSettings.hasForeignCredential', { interpolate: { owner: workflowOwnerName } })"
|
||||
/>
|
||||
<div v-show="openPanel === 'params'">
|
||||
<node-webhooks :node="node" :nodeType="nodeType" />
|
||||
|
@ -167,6 +167,7 @@ import { useNDVStore } from '@/stores/ndv';
|
|||
import { useNodeTypesStore } from '@/stores/nodeTypes';
|
||||
import { useHistoryStore } from '@/stores/history';
|
||||
import { RenameNodeCommand } from '@/models/history';
|
||||
import useWorkflowsEEStore from "@/stores/workflows.ee";
|
||||
|
||||
export default mixins(externalHooks, nodeHelpers).extend({
|
||||
name: 'NodeSettings',
|
||||
|
@ -186,6 +187,7 @@ export default mixins(externalHooks, nodeHelpers).extend({
|
|||
useNDVStore,
|
||||
useUIStore,
|
||||
useWorkflowsStore,
|
||||
useWorkflowsEEStore,
|
||||
),
|
||||
isCurlImportModalOpen(): boolean {
|
||||
return this.uiStore.isModalOpen(IMPORT_CURL_MODAL_KEY);
|
||||
|
@ -258,6 +260,9 @@ export default mixins(externalHooks, nodeHelpers).extend({
|
|||
isTriggerNode(): boolean {
|
||||
return this.nodeTypesStore.isTriggerNode(this.node.type);
|
||||
},
|
||||
workflowOwnerName(): string {
|
||||
return this.workflowsEEStore.getWorkflowOwnerName(`${this.workflowsStore.workflowId}`);
|
||||
},
|
||||
},
|
||||
props: {
|
||||
eventBus: {},
|
||||
|
|
|
@ -776,7 +776,7 @@
|
|||
"nodeSettings.useTheHttpRequestNode": "Use the <b>HTTP Request</b> node to make a custom API call. We'll take care of the {nodeTypeDisplayName} auth for you. <a target=\"_blank\" href=\"https://docs.n8n.io/integrations/custom-operations/\">Learn more</a>",
|
||||
"nodeSettings.waitBetweenTries.description": "How long to wait between each attempt (in milliseconds)",
|
||||
"nodeSettings.waitBetweenTries.displayName": "Wait Between Tries (ms)",
|
||||
"nodeSettings.hasForeignCredential": "This node is working as expected, but you can't edit it since its credentials aren't shared with you. To edit this node, please ask the owner of the workflow to share the credentials with you. Alternatively, you can also duplicate this node in the workflow and add your own credentials.",
|
||||
"nodeSettings.hasForeignCredential": "To edit this node, either:<br/>a) Ask {owner} to share the credential with you, or<br/>b) Duplicate the node and add your own credential",
|
||||
"nodeView.addNode": "Add node",
|
||||
"nodeView.addATriggerNodeFirst": "Add a <a data-action='showNodeCreator'>Trigger Node</a> first",
|
||||
"nodeView.addOrEnableTriggerNode": "<a data-action='showNodeCreator'>Add</a> or enable a Trigger node to execute the workflow",
|
||||
|
|
Loading…
Reference in a new issue