diff --git a/public/js/components/Cis/Profil/ProfilComponents/FetchProfilUpdates.js b/public/js/components/Cis/Profil/ProfilComponents/FetchProfilUpdates.js index a23956f7f..630569a6e 100755 --- a/public/js/components/Cis/Profil/ProfilComponents/FetchProfilUpdates.js +++ b/public/js/components/Cis/Profil/ProfilComponents/FetchProfilUpdates.js @@ -81,7 +81,7 @@ export default { } //? adds the status information if the profil update request was rejected or accepted - if (updateRequest.status !== "pending") { + if (updateRequest.status !== this.$p.t('profilUpdate','pending')) { content["status"] = updateRequest.status; content["status_message"] = updateRequest.status_message; content["status_timestamp"] = updateRequest.status_timestamp; @@ -114,7 +114,7 @@ export default { ); }, getView: function (topic, status) { - if (!(status === "pending")) { + if (!(status === this.$p.t('profilUpdate','pending'))) { return "Status"; } @@ -194,7 +194,7 @@ export default { } //? adds the status information if the profil update request was rejected or accepted - if (updateRequest.status !== "pending") { + if (updateRequest.status !== this.$p.t('profilUpdate','pending')) { content["status"] = updateRequest.status; content["status_message"] = updateRequest.status_message; content["status_timestamp"] = updateRequest.status_timestamp; @@ -243,12 +243,12 @@ export default { - + {{item.topic}} {{item.status}} {{item.status_timestamp?item.status_timestamp:item.insertamum}} -