mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 20:29:29 +00:00
little fix
This commit is contained in:
@@ -32,7 +32,7 @@ export default {
|
||||
//? if the adresse was already saved
|
||||
return false;
|
||||
}
|
||||
return this.zustellAdressenCount>0 && this.data.zustelladresse;
|
||||
return this.zustellAdressenCount.length && this.data.zustelladresse;
|
||||
}
|
||||
//? if this.zustellAdressenCount is still not set by the api call and is still null
|
||||
return false;
|
||||
@@ -62,7 +62,7 @@ export default {
|
||||
created(){
|
||||
Vue.$fhcapi.UserData.getZustellAdresse().then(res => {
|
||||
|
||||
this.zustellAdressenCount = res.data?.length;
|
||||
this.zustellAdressenCount = res.data;
|
||||
})
|
||||
this.originalValue = JSON.stringify(this.data);
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ export default {
|
||||
//? if the adresse was already saved
|
||||
return false;
|
||||
}
|
||||
return this.zustellKontaktCount>0 && this.data.zustellung;
|
||||
return this.zustellKontaktCount.length && this.data.zustellung;
|
||||
}
|
||||
//? if this.zustellAdressenCount is still not set by the api call and is still null
|
||||
return false;
|
||||
@@ -52,7 +52,7 @@ export default {
|
||||
|
||||
Vue.$fhcapi.UserData.getZustellKontakt().then(res => {
|
||||
|
||||
this.zustellKontaktCount = res.data?.length;
|
||||
this.zustellKontaktCount = res.data;
|
||||
})
|
||||
|
||||
this.originalValue = JSON.stringify(this.data);
|
||||
|
||||
Reference in New Issue
Block a user