0
0
Fork 0
This commit is contained in:
Joan 2022-11-07 09:25:46 +01:00
commit 742b77e4e9
5 changed files with 9 additions and 3 deletions

View File

@ -89,10 +89,10 @@ module.exports = configure(function (ctx) {
open: true, // opens browser window automatically
proxy: {
'/api': {
target: 'http://localhost:3000',
target: 'http://0.0.0.0:3000',
logLevel: 'debug',
changeOrigin: true,
secure: false,
secure: false
},
},
},

View File

@ -1,7 +1,7 @@
import { useI18n } from 'vue-i18n';
export default function (value, symbol = 'EUR', fractionSize = 2) {
if (value == null || value === '') return;
if (value == null || value === '') value = 0;
const { locale } = useI18n();

View File

@ -177,6 +177,8 @@ function stateColor(code) {
<style lang="scss" scoped>
.descriptor {
max-width: 256px;
h5 {
margin: 0 15px;
}

View File

@ -182,6 +182,8 @@ async function fetch() {
<style lang="scss" scoped>
.descriptor {
max-width: 256px;
h5 {
margin: 0 15px;
}

View File

@ -171,6 +171,8 @@ function stateColor(state) {
<style lang="scss" scoped>
.descriptor {
max-width: 256px;
h5 {
margin: 0 15px;
}