Skip to content

Commit 68fb45f

Browse files
committed
rename ids
1 parent 4c41d6c commit 68fb45f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/public/views/Runs/Overview/exportTriggerAndModal.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ const errorDisplay = () => h('.danger', 'Data fetching failed');
111111
*/
112112
const exportModal = (exportModel, modalHandler) => {
113113
exportModel.callForData();
114-
return h('div#export-runs-modal', [
114+
return h('div#export-data-modal', [
115115
h('h2', 'Export data'),
116116
exportModel.items.match({
117117
NotAsked: () => errorDisplay(),
@@ -131,7 +131,7 @@ const exportModal = (exportModel, modalHandler) => {
131131
* @returns {Component} button
132132
*/
133133
export const exportTriggerAndModal = (exportModel, modalModel, { autoMarginLeft = true } = {}) =>
134-
h(`button.btn.btn-primary${autoMarginLeft ? '.mlauto' : ''}#export-runs-trigger`, {
134+
h(`button.btn.btn-primary${autoMarginLeft ? '.mlauto' : ''}#export-data-trigger`, {
135135
disabled: exportModel.disabled,
136136
onclick: () => modalModel.display({ content: (modalModel) => exportModal(exportModel, modalModel), size: 'medium' }),
137137
}, 'Export data');

0 commit comments

Comments
 (0)