fix: remain in the same position of list when back
This commit is contained in:
parent
b27d5b2dcc
commit
e54363472e
@ -4,7 +4,6 @@
|
|||||||
|
|
||||||
<breadcrumbs base="/files" />
|
<breadcrumbs base="/files" />
|
||||||
<listing />
|
<listing />
|
||||||
<transition name="closing">
|
|
||||||
<errors v-if="error" :errorCode="error.status" />
|
<errors v-if="error" :errorCode="error.status" />
|
||||||
<component v-else-if="currentView" :is="currentView"></component>
|
<component v-else-if="currentView" :is="currentView"></component>
|
||||||
<div v-else-if="currentView !== null">
|
<div v-else-if="currentView !== null">
|
||||||
@ -17,7 +16,6 @@
|
|||||||
<span>{{ $t("files.loading") }}</span>
|
<span>{{ $t("files.loading") }}</span>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
</transition>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -153,13 +151,3 @@ export default {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style>
|
|
||||||
.closing-leave-active {
|
|
||||||
animation: closing 0.5s
|
|
||||||
}
|
|
||||||
@keyframes closing {
|
|
||||||
to {
|
|
||||||
transform: scale(0);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user