Skip to content

Commit

Permalink
Revert "export workflow history using correct url (#543)"
Browse files Browse the repository at this point in the history
This reverts commit 0f96962.
  • Loading branch information
Assem-Uber authored Mar 26, 2024
1 parent 9bc4e2f commit 6869cfe
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions client/containers/workflow-history/component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ export default {
'workflowHistoryEventHighlightList',
'workflowHistoryEventHighlightListEnabled',
'workflowId',
'origin',
],
created() {
this.onResizeWindow = debounce(() => {
Expand Down Expand Up @@ -400,7 +399,7 @@ export default {
>
<a
class="export"
:href="origin + baseAPIURL + '/export'"
:href="baseAPIURL + '/export'"
:download="exportFilename"
>Export</a
>
Expand Down
2 changes: 0 additions & 2 deletions client/containers/workflow-history/connector.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,9 @@

import { connect } from 'vuex-connect';
import { WORKFLOW_EXECUTION_PENDING_TASK_COUNT } from '../workflow/getter-types';
import { DOMAIN_CROSS_ORIGIN } from '../domain/getter-types';

const gettersToProps = {
pendingTaskCount: WORKFLOW_EXECUTION_PENDING_TASK_COUNT,
origin: DOMAIN_CROSS_ORIGIN,
};

const stateToProps = {
Expand Down
2 changes: 1 addition & 1 deletion client/test/workflow.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ describe('Workflow', () => {

exportEl.should.have.attr(
'href',
'http://localhost:8090/api/domains/ci-test/workflows/email-daily-summaries/emailRun1/export'
'/api/domains/ci-test/workflows/email-daily-summaries/emailRun1/export'
);
exportEl.should.have.attr(
'download',
Expand Down

0 comments on commit 6869cfe

Please sign in to comment.