Skip to content

Commit

Permalink
SPLAT-711 fix dummy href on anchors that interferes with frontend rou…
Browse files Browse the repository at this point in the history
…ting
  • Loading branch information
amalija-ramljak committed Oct 31, 2023
1 parent ec3356e commit 01cc7eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/SelectFolder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<span>{{ this.config.translations.upload_breadcrumbs_info }} </span>
<span v-for="(folder, index) in breadcrumbs" :key="index">
<span v-if="index !== 0"> / </span>
<a v-if="index !== breadcrumbs.length - 1" href="#" @click="openFolder(folder.id)">
<a v-if="index !== breadcrumbs.length - 1" href="javascript:void(0);" @click="openFolder(folder.id)">
{{folder.label}}
</a>
<span v-else>{{folder.label}}</span>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/UploadModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
<div class="input-file-name-wrapper">
<div v-if="this.error" class="error">
{{ this.error }}
<a v-if="this.existingResourceButton" href="#" @click="$emit('uploaded', existingResource)">
<a v-if="this.existingResourceButton" href="javascript:void(0);" @click="$emit('uploaded', existingResource)">
{{ this.config.translations.upload_button_use_existing_resource }}
</a>
</div>
Expand Down

0 comments on commit 01cc7eb

Please sign in to comment.