mirror of
https://github.com/portainer/portainer.git
synced 2025-07-24 07:49:41 +02:00
fix(stack): correct documentation link for stack ENV variables [EE-6902] (#11654)
This commit is contained in:
parent
cf8ec631dd
commit
d177a70c54
2 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
|||
import { ComponentProps } from 'react';
|
||||
|
||||
import { Alert } from '@@/Alert';
|
||||
import { useDocsUrl } from '@@/PageHeader/ContextHelp/ContextHelp';
|
||||
|
||||
import { EnvironmentVariablesFieldset } from './EnvironmentVariablesFieldset';
|
||||
import { EnvironmentVariablesPanel } from './EnvironmentVariablesPanel';
|
||||
|
@ -23,7 +24,9 @@ export function StackEnvironmentVariablesPanel({
|
|||
<div>
|
||||
You may use{' '}
|
||||
<a
|
||||
href="https://docs.portainer.io/v/2.20/user/docker/stacks/add#environment-variables"
|
||||
href={`${useDocsUrl(
|
||||
'/user/docker/stacks/add#environment-variables'
|
||||
)}`}
|
||||
target="_blank"
|
||||
data-cy="stack-env-vars-help-link"
|
||||
rel="noreferrer noopener"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue