Revert "v0.2.1 (#157)" (#158)

This reverts commit a899f46464.
This commit is contained in:
Hayden
2021-02-10 19:39:46 -09:00
committed by GitHub
parent a899f46464
commit 8221c36a89
82 changed files with 895 additions and 937 deletions

View File

@@ -38,8 +38,8 @@
<script>
import ImportDialog from "./ImportDialog";
import api from "@/api";
import utils from "@/utils";
import api from "../../../api";
import utils from "../../../utils";
export default {
props: {
backups: Array,

View File

@@ -38,8 +38,8 @@
<script>
import ImportDialog from "./ImportDialog";
import api from "@/api";
import utils from "@/utils";
import api from "../../../api";
import utils from "../../../utils";
export default {
props: {
backups: Array,

View File

@@ -46,7 +46,7 @@
</template>
<script>
import api from "@/api";
import api from "../../../api";
export default {
data() {
return {
@@ -84,7 +84,7 @@ export default {
methods: {
async getAvailableBackups() {
let response = await api.backups.requestAvailable();
response.templates.forEach(element => {
response.templates.forEach((element) => {
this.availableTemplates.push(element);
});
},
@@ -101,6 +101,7 @@ export default {
templates: this.selectedTemplates,
};
await api.backups.create(data);
this.loading = false;

View File

@@ -46,7 +46,7 @@
</template>
<script>
import api from "@/api";
import api from "../../../api";
import SuccessFailureAlert from "../../UI/SuccessFailureAlert";
import UploadBtn from "../../UI/UploadBtn";
import AvailableBackupCard from "./AvailableBackupCard";

View File

@@ -126,7 +126,7 @@
</template>
<script>
import api from "@/api";
import api from "../../../api";
import draggable from "vuedraggable";
export default {

View File

@@ -56,8 +56,8 @@
<script>
import UploadBtn from "../../UI/UploadBtn";
import utils from "@/utils";
import api from "@/api";
import utils from "../../../utils";
import api from "../../../api";
export default {
props: {
folder: String,

View File

@@ -41,7 +41,7 @@
<script>
import MigrationCard from "./MigrationCard";
import SuccessFailureAlert from "../../UI/SuccessFailureAlert";
import api from "@/api";
import api from "../../../api";
export default {
components: {
MigrationCard,
@@ -78,7 +78,7 @@ export default {
},
async getAvailableMigrations() {
let response = await api.migrations.getMigrations();
response.forEach(element => {
response.forEach((element) => {
if (element.type === "nextcloud") {
this.migrations.nextcloud.availableImports = element.files;
} else if (element.type === "chowdown") {

View File

@@ -53,7 +53,7 @@
return-object
v-model="selectedTheme"
@change="themeSelected"
:rules="[v => !!v || $t('settings.theme.theme-is-required')]"
:rules="[(v) => !!v || $t('settings.theme.theme-is-required')]"
required
>
</v-select>
@@ -136,7 +136,7 @@
</template>
<script>
import api from "@/api";
import api from "../../../api";
import ColorPickerDialog from "./ColorPickerDialog";
import NewThemeDialog from "./NewThemeDialog";
import Confirmation from "../../UI/Confirmation";
@@ -186,7 +186,7 @@ export default {
//Change to default if deleting current theme.
if (
!this.availableThemes.some(
theme => theme.name === this.selectedTheme.name
(theme) => theme.name === this.selectedTheme.name
)
) {
await this.$store.dispatch("resetTheme");

View File

@@ -56,7 +56,7 @@
</template>
<script>
import api from "@/api";
import api from "../../../api";
import TimePickerDialog from "./TimePickerDialog";
export default {
components: {