Remove duplicate close-icon

Signed-off-by: Greta Doci <gretadoci@gmail.com>
This commit is contained in:
Greta Doci 2019-06-27 15:32:27 +02:00
parent c63f1d8d39
commit 32abff5e77
4 changed files with 9 additions and 12 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -22,7 +22,6 @@
<template>
<div id="app-details-view" style="padding: 20px;">
<a class="close icon-close" href="#" v-on:click="hideAppDetails"><span class="hidden-visually">Close</span></a>
<h2>
<div v-if="!app.preview" class="icon-settings-dark"></div>
<svg v-if="app.previewAsIcon && app.preview" width="32" height="32" viewBox="0 0 32 32">
@ -126,14 +125,6 @@ export default {
this.groupCheckedAppsData = true;
}
},
methods: {
hideAppDetails() {
this.$router.push({
name: 'apps-category',
params: {category: this.category}
});
},
},
computed: {
appstoreUrl() {
return `https://apps.nextcloud.com/apps/${this.app.id}`;

View File

@ -31,7 +31,7 @@
<AppContent class="app-settings-content" :class="{ 'icon-loading': loadingList }">
<AppList :category="category" :app="currentApp" :search="searchQuery" />
</AppContent>
<AppSidebar v-if="id && currentApp" >
<AppSidebar v-if="id && currentApp" @close="hideAppDetails">
<AppDetails :category="category" :app="currentApp" />
</AppSidebar>
</Content>
@ -79,6 +79,12 @@ export default {
},
resetSearch() {
this.setSearch('');
},
hideAppDetails() {
this.$router.push({
name: 'apps-category',
params: {category: this.category}
})
}
},
beforeMount() {