removed backspace functionality for team folder and sharedwithme homepage

This commit is contained in:
Čarodej
2022-03-15 11:21:14 +01:00
parent d0b4b729c9
commit dfeef6fdf8
22 changed files with 80 additions and 63 deletions

View File

@@ -62,7 +62,7 @@
<!--Show tips-->
<div
v-if="isEmptyQuery && !activeFilter && !$isThisRoute($route, ['Public']) && isAdmin"
v-if="isEmptyQuery && !activeFilter && !$isThisRoute(['Public']) && isAdmin"
class="relative z-50 px-4 pb-4"
>
<CategoryName>
@@ -587,7 +587,7 @@ export default {
}
// Return commands for public page
if (this.$isThisRoute(this.$route, ['Public'])) {
if (this.$isThisRoute(['Public'])) {
return [].concat.apply([], [functionList])
}
@@ -779,7 +779,7 @@ export default {
openItem(file) {
// Show folder
if (file.data.type === 'folder') {
if (this.$isThisRoute(this.$route, ['Public'])) {
if (this.$isThisRoute(['Public'])) {
this.$router.push({
name: 'Public',
params: {