Skip to content

Commit

Permalink
ref
Browse files Browse the repository at this point in the history
  • Loading branch information
xsalonx committed Apr 30, 2024
1 parent 6178857 commit efd4b53
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ import { h, iconWarning } from '/js/src/index.js';
import { buildUrl } from '../../../utilities/fetch/buildUrl.js';

/**
* Format environment links
* @param {Run} run the run
* @return {Componenet} links
* Format ECS environment link
* @param {number} environmentId the environment id
* @return {Componenet} link
*/
export const getAliEcsEnvironmentLink = ({ environmentId }) =>
export const getAliEcsEnvironmentLink = (environmentId) =>
configurationService.configuration$.getCurrent().match({
Success: ({ AliEcsGuiUrl }) => h(
'a',
Expand Down
2 changes: 1 addition & 1 deletion lib/public/views/Runs/Details/runDetailsComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ export const runDetailsComponent = (runDetailsModel, router) => runDetailsModel.
qcGuiLinkComponent(run),
isRunConsideredRunning(run) && [
h('', '-'),
getAliEcsEnvironmentLink(run),
getAliEcsEnvironmentLink(run.environmentId),
],
]),
errorAlert(runDetailsModel.updateErrors),
Expand Down

0 comments on commit efd4b53

Please sign in to comment.