Add TransitionGroup for vue toplevel views

This commit is contained in:
Johannes Zellner
2025-01-19 19:56:31 +01:00
parent 4045a16e27
commit 4c235f0427
+9 -6
View File
@@ -86,11 +86,14 @@ export default {
<template>
<div>
<Notification />
<AppsView v-if="view === VIEWS.APPS" />
<AppstoreView v-if="view === VIEWS.APPSTORE" />
<ProfileView v-if="view === VIEWS.PROFILE" />
<SupportView v-if="view === VIEWS.SUPPORT" />
<UserDirectoryView v-if="view === VIEWS.USER_DIRECTORY" />
<VolumesView v-if="view === VIEWS.VOLUMES" />
<TransitionGroup name="grid-animation">
<AppsView v-if="view === VIEWS.APPS" />
<AppstoreView v-else-if="view === VIEWS.APPSTORE" />
<ProfileView v-else-if="view === VIEWS.PROFILE" />
<SupportView v-else-if="view === VIEWS.SUPPORT" />
<UserDirectoryView v-else-if="view === VIEWS.USER_DIRECTORY" />
<VolumesView v-else-if="view === VIEWS.VOLUMES" />
</TransitionGroup>
</div>
</template>