This commit is contained in:
@@ -10,7 +10,7 @@ import SpotButton from '@components/spotButton';
|
||||
export default {
|
||||
name: 'upload',
|
||||
components: { SpotButton, SpotIcon },
|
||||
inject: ['api', 'lang', 'projects', 'consts', 'user'],
|
||||
inject: ['api', 'lang', 'projects', 'consts', 'user', 'getPrevAnchor'],
|
||||
data() {
|
||||
return {
|
||||
project: this.projects.getDefaultProject(),
|
||||
@@ -120,7 +120,7 @@ export default {
|
||||
<template>
|
||||
<div id="upload">
|
||||
<div class="section header">
|
||||
<a name="back" class="button" href="#project"><SpotIcon :icon="'back'" :text="lang.get('action.back')" /></a>
|
||||
<a name="back" class="button" :href="getPrevAnchor()"><SpotIcon :icon="'back'" :text="lang.get('action.back')" /></a>
|
||||
<h1>{{ this.project.name }}</h1>
|
||||
</div>
|
||||
<div class="section" v-if="project.editable">
|
||||
|
||||
Reference in New Issue
Block a user