mirror of
https://github.com/Sebclem/hassio-nextcloud-backup.git
synced 2024-11-22 09:12:58 +01:00
✏️ cleanup
This commit is contained in:
parent
eb2ce74c17
commit
154cd724af
@ -59,7 +59,7 @@
|
|||||||
</v-tooltip>
|
</v-tooltip>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row>
|
<v-row dense>
|
||||||
<v-col class="d-flex justify-center">
|
<v-col class="d-flex justify-center">
|
||||||
<v-tooltip text="Last edit" location="top">
|
<v-tooltip text="Last edit" location="top">
|
||||||
<template v-slot:activator="{ props }">
|
<template v-slot:activator="{ props }">
|
||||||
|
@ -1,15 +1,15 @@
|
|||||||
<template>
|
<template>
|
||||||
<v-form class="mx-4">
|
<v-form class="mx-4" @submit.prevent>
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col>
|
<v-col>
|
||||||
<div class="text-subtitle-1 text-medium-emphasis">Naming template</div>
|
<div class="text-subtitle-1 text-medium-emphasis">Naming template</div>
|
||||||
<!-- <v-text-field
|
<v-text-field
|
||||||
placeholder="{type}-{ha_version}-{date}_{hour}"
|
placeholder="{type}-{ha_version}-{date}_{hour}"
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
density="compact"
|
density="compact"
|
||||||
prepend-inner-icon="mdi-tag"
|
prepend-inner-icon="mdi-tag"
|
||||||
hide-details="auto"
|
hide-details="auto"
|
||||||
v-model="data.config.nameTemplate"
|
v-model="data.nameTemplate"
|
||||||
:error-messages="errors.nameTemplate"
|
:error-messages="errors.nameTemplate"
|
||||||
:loading="loading"
|
:loading="loading"
|
||||||
color="orange"
|
color="orange"
|
||||||
@ -26,7 +26,7 @@
|
|||||||
<v-icon icon="mdi-help-circle-outline"></v-icon>
|
<v-icon icon="mdi-help-circle-outline"></v-icon>
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</template>
|
</template>
|
||||||
</v-text-field> -->
|
</v-text-field>
|
||||||
</v-col>
|
</v-col>
|
||||||
</v-row>
|
</v-row>
|
||||||
<v-row>
|
<v-row>
|
||||||
@ -53,19 +53,18 @@
|
|||||||
</v-form>
|
</v-form>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref, watch } from "vue";
|
import { ref } from "vue";
|
||||||
|
|
||||||
import { useConfigForm } from "@/composable/ConfigForm";
|
import { useConfigForm } from "@/composable/ConfigForm";
|
||||||
import { saveBackupConfig } from "@/services/configService";
|
import { saveBackupConfig } from "@/services/configService";
|
||||||
import { useBackupConfigStore } from "@/stores/backupConfig";
|
import { useBackupConfigStore } from "@/stores/backupConfig";
|
||||||
import { CronMode } from "@/types/backupConfig";
|
|
||||||
import { storeToRefs } from "pinia";
|
import { storeToRefs } from "pinia";
|
||||||
import BackupConfigAddon from "./BackupConfig/BackupConfigAddon.vue";
|
import BackupConfigAddon from "./BackupConfig/BackupConfigAddon.vue";
|
||||||
import BackupConfigFolder from "./BackupConfig/BackupConfigFolder.vue";
|
|
||||||
import BackupConfigAutoBackup from "./BackupConfig/BackupConfigAutoBackup.vue";
|
import BackupConfigAutoBackup from "./BackupConfig/BackupConfigAutoBackup.vue";
|
||||||
|
import BackupConfigFolder from "./BackupConfig/BackupConfigFolder.vue";
|
||||||
|
|
||||||
const backupConfigStore = useBackupConfigStore();
|
const backupConfigStore = useBackupConfigStore();
|
||||||
const { data, folders, invertedFolders } = storeToRefs(backupConfigStore);
|
const { data } = storeToRefs(backupConfigStore);
|
||||||
const errors = ref({
|
const errors = ref({
|
||||||
nameTemplate: [],
|
nameTemplate: [],
|
||||||
username: [],
|
username: [],
|
||||||
|
Loading…
Reference in New Issue
Block a user