Update:Select all episodes showing option #1878 & add translations to episodes modal

This commit is contained in:
advplyr 2023-06-30 17:30:15 -05:00
parent 8140d7021a
commit e07e2cd359
14 changed files with 195 additions and 16 deletions

View file

@ -34,7 +34,7 @@ Vue.prototype.$strings = { ...enUsStrings }
Vue.prototype.$getString = (key, subs) => {
if (!Vue.prototype.$strings[key]) return ''
if (subs && Array.isArray(subs) && subs.length) {
if (subs?.length && Array.isArray(subs)) {
return supplant(Vue.prototype.$strings[key], subs)
}
return Vue.prototype.$strings[key]