Ivan Galakhov 4 лет назад
Родитель
Сommit
6164e0cdee

+ 0 - 6
dashboard/.old.env

@@ -1,6 +0,0 @@
-APPLICATION_CHART_REPO_URL=https://charts.dev.getporter.dev
-ADDON_CHART_REPO_URL=https://chart-addons.dev.getporter.dev
-DEV_SERVER_PORT=8081
-API_SERVER=http://localhost:8080
-ENABLE_PROXY=true
-NODE_ENV=development

+ 2 - 3
dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedChart.tsx

@@ -383,9 +383,9 @@ const ExpandedChart: React.FC<Props> = (props) => {
                   href={`https://github.com/${props.currentChart.git_action_config.git_repo}/actions`}
                   target={"_blank"}
                 >
-                  "Actions" tab of your GitHub repo to view live
+                  Actions tab
                 </A>{" "}
-                build logs.
+                of your GitHub repo to view live build logs.
               </TextWrap>
             </Placeholder>
           );
@@ -1046,6 +1046,5 @@ const DeploymentTypeIcon = styled(Icon)`
 const A = styled.a`
   color: #8590ff;
   text-decoration: underline;
-  margin-left: 5px;
   cursor: pointer;
 `;

+ 4 - 4
dashboard/src/main/home/cluster-dashboard/expanded-chart/ExpandedJobChart.tsx

@@ -438,12 +438,12 @@ class ExpandedJobChart extends Component<PropsType, StateType> {
                 </Header>
                 Navigate to the
                 <A
-                  href={`https://github.com/${this.props.currentChart.git_action_config.git_repo}/actions`}
-                  target={"_blank"}
+                    href={`https://github.com/${this.props.currentChart.git_action_config.git_repo}/actions`}
+                    target={"_blank"}
                 >
-                  "Actions" tab of your GitHub repo to view live
+                  Actions tab
                 </A>{" "}
-                build logs.
+                of your GitHub repo to view live build logs.
               </TextWrap>
             </Placeholder>
           );

+ 2 - 2
dashboard/src/main/home/cluster-dashboard/expanded-chart/RevisionSection.tsx

@@ -235,9 +235,9 @@ class RevisionSection extends Component<PropsType, StateType> {
           <Td>{revision.version}</Td>
           <Td>{this.readableDate(revision.info.last_deployed)}</Td>
           <Td>
-            {!parsedImageTag ? (
+            {!imageTag ? (
               "N/A"
-            ) : isGithubApp && /[0-9A-Fa-f]{6}/g.test(parsedImageTag) ? (
+            ) : isGithubApp && /[0-9A-Fa-f]+/g.test(imageTag) ? (
               <A
                 href={`https://github.com/${this.props.chart.git_action_config?.git_repo}/commit/${imageTag}`}
                 target="_blank"