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

@@ -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;