Skip to content

Commit

Permalink
#24: Rename DatasetCreateOrSelect to DatasetViewer
Browse files Browse the repository at this point in the history
  • Loading branch information
roryschadler committed Mar 21, 2022
1 parent 0fed001 commit aafbc49
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/src/pages/nanomine/xmlUploader/xmlUploader.html
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ <h3>Note</h3>
<div class="md-layout-item md-size-100">
<h3>Inputs</h3>
<div>
<dataset-create-or-select selectHeader="Choose or create a dataset" :selectedHandler="datasetSelectedHandler"
:datasetOptions="datasetOptions"></dataset-create-or-select>
<dataset-viewer selectHeader="Choose or create a dataset" :selectedHandler="datasetSelectedHandler"
:datasetOptions="datasetOptions"></dataset-viewer>
</div>
<div>
<p>Select a completed Excel Template File
Expand Down
4 changes: 2 additions & 2 deletions app/src/pages/nanomine/xmlUploader/xmlUploader.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ import { JobMgr } from '@/modules/JobMgr.js'
// import { Auth } from '@/modules/Auth.js'
import ReferenceContainer from '@/components/nanomine/ReferenceContainer.vue'
import Dialog from '@/components/Dialog.vue'
import DatasetCreateOrSelect from '@/components/nanomine/DatasetCreateOrSelect.vue'
import DatasetViewer from '@/components/nanomine/DatasetViewer.vue'
import { mapMutations, mapGetters } from 'vuex'

export default {
name: 'XMLUploader',
components: {
ReferenceContainer,
dialogBox: Dialog,
DatasetCreateOrSelect
DatasetViewer
},
data: () => ({
title: 'File Upload',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import createWrapper from '../../../jest/script/wrapper'
import DatasetCreateOrSelect from '@/components/nanomine/DatasetCreateOrSelect.vue'
import DatasetViewer from '@/components/nanomine/DatasetViewer.vue'

var wrapper = null

Expand All @@ -24,7 +24,7 @@ global.fetch.mockReturnValueOnce(

describe('DatasetCreateOrSelect.vue', () => {
beforeAll(() => {
wrapper = createWrapper(DatasetCreateOrSelect, {})
wrapper = createWrapper(DatasetViewer, {})
})

it('mounts properly', () => {
Expand Down

0 comments on commit aafbc49

Please sign in to comment.