fix lint
This commit is contained in:
parent
fa21499f73
commit
f70f4a3700
@ -28,11 +28,7 @@ import Breadcrumbs from "@/components/Breadcrumbs";
|
|||||||
import Errors from "@/views/Errors";
|
import Errors from "@/views/Errors";
|
||||||
import Preview from "@/views/files/Preview";
|
import Preview from "@/views/files/Preview";
|
||||||
import Listing from "@/views/files/Listing";
|
import Listing from "@/views/files/Listing";
|
||||||
import {
|
import { name } from "@/utils/constants";
|
||||||
name,
|
|
||||||
} from "@/utils/constants";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
function clean(path) {
|
function clean(path) {
|
||||||
return path.endsWith("/") ? path.slice(0, -1) : path;
|
return path.endsWith("/") ? path.slice(0, -1) : path;
|
||||||
|
|||||||
@ -50,12 +50,10 @@
|
|||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {mapMutations, mapState} from "vuex";
|
import { mapMutations, mapState } from "vuex";
|
||||||
|
|
||||||
import HeaderBar from "@/components/header/HeaderBar";
|
import HeaderBar from "@/components/header/HeaderBar";
|
||||||
import {
|
import { name } from "@/utils/constants";
|
||||||
name,
|
|
||||||
} from "@/utils/constants";
|
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "settings",
|
name: "settings",
|
||||||
@ -80,9 +78,8 @@ export default {
|
|||||||
methods: {
|
methods: {
|
||||||
...mapMutations(["setLoading"]),
|
...mapMutations(["setLoading"]),
|
||||||
async fetchData() {
|
async fetchData() {
|
||||||
document.title = document.title + ` - ${this.name}`;
|
document.title = document.title + ` - ${this.name}`;
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user