diff --git a/front-ui/app/globals.js b/front-ui/app/globals.js index c4000ef..0e86c5c 100644 --- a/front-ui/app/globals.js +++ b/front-ui/app/globals.js @@ -29,6 +29,9 @@ module.exports = { PikpayKey: "Ribica", Slugify: function(text) { + if(!text) { + text = ""; + } return text.toString().toLowerCase() .replace(/š/g,'s') .replace(/[čć]/g,'c')