Open azizur opened 7 years ago
Is this Issue still open ??
@bahaa96 yes
Haven't had time to fully look at this bug but FYI to anyone looking at it, the issue goes away if you change:
from
const defaultOptions = {
translations: [102]
};
to
const defaultOptions = {
translations: []
};
I'm not sure what else breaks when you do this. It seems like an issue in the prepareParams function if translations is empty because it doesn't handle the empty case in the if statement.
But we want to show default translation when user load the page initially.
Yes my note above isn't a fix. Just wanted to jot down a note so that if someone else picks this up they know where to start looking.
I can pick it up soon
It's not possible to remove/turn off all translations.
When you remove Translations using "Remove All" button
When you choose a translation.