Stefan Dej 99529defb8 bugfix: change printer name
bugfix: favicon percent icon

Signed-off-by: Stefan Dej <meteyou@gmail.com>
2020-11-27 18:48:37 +01:00

51 lines
1.1 KiB
Vue

<style>
.webcamImage {
width: 100%;
}
</style>
<template>
<v-card>
<v-toolbar flat dense >
<v-toolbar-title>
<span class="subheading"><v-icon left>mdi-cog</v-icon>General</span>
</v-toolbar-title>
</v-toolbar>
<v-card-text class="py-0">
<v-row>
<v-col class="pt-2 pb-0">
<v-text-field
v-model="printerName"
label="Printer Name"
></v-text-field>
</v-col>
</v-row>
</v-card-text>
</v-card>
</template>
<script>
export default {
components: {
},
data: function() {
return {
}
},
computed: {
printerName: {
get() {
return this.$store.state.gui.general.printername;
},
set(newName) {
return this.$store.dispatch('gui/setSettings', { general: { printername: newName } });
}
},
},
methods: {
}
}
</script>