Skip to content

Commit

Permalink
fix(#489): Fix page links for curation on home page
Browse files Browse the repository at this point in the history
  • Loading branch information
tholulomo committed Jun 13, 2024
1 parent 55479ed commit a3676af
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions app/src/pages/nanomine/Home/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
</div>
<div
class="quicklinks quicklinks-border"
@click.prevent="navigateFunction('/explorer/curate/spreadsheet')"
@click.prevent="navigateFunction('/explorer/curate')"
>
<div class="quicklinks_content">
<h2>Upload your data</h2>
Expand Down Expand Up @@ -120,7 +120,7 @@

<div
class="quicklinks u_vertical-only-hide"
@click.prevent="navigateFunction('/explorer/curate/spreadsheet')"
@click.prevent="navigateFunction('/explorer/curate')"
>
<div class="quicklinks_content">
<h2>Upload your data</h2>
Expand Down Expand Up @@ -163,12 +163,12 @@
</template>

<script>
import reducer from '@/mixins/reduce'
import reducer from '@/mixins/reduce';
export default {
name: 'HomeNM',
mixins: [reducer],
data () {
data() {
return {
assetItems: [
{
Expand Down Expand Up @@ -199,19 +199,19 @@ export default {
],
pushedAssetItem: [],
screen: 0
}
};
},
methods: {
navigateFunction (arg) {
this.$router.push(arg)
navigateFunction(arg) {
this.$router.push(arg);
}
},
created () {
created() {
this.$store.commit('setAppHeaderInfo', {
icon: '',
pagetype: 'home',
name: 'Welcome to MaterialsMine! An open source repository for nanocomposite data (NanoMine), and mechanical metamaterials data (MetaMine)'
})
});
}
}
};
</script>

0 comments on commit a3676af

Please sign in to comment.