mirror of
https://github.com/pretix/pretix.git
synced 2025-12-05 21:32:28 +00:00
Editor: fix sample text when key missing (#2980)
This commit is contained in:
committed by
GitHub
parent
5e963d87d9
commit
b31b2d34c0
@@ -256,7 +256,7 @@ var editor = {
|
||||
} else if (d.content === "other_i18n") {
|
||||
o.text_i18n = d.text_i18n
|
||||
o.setText(d.text_i18n[Object.keys(d.text_i18n)[0]]);
|
||||
} else {
|
||||
} else if (d.content) {
|
||||
o.setText(editor._get_text_sample(d.content));
|
||||
}
|
||||
if (d.locale) {
|
||||
|
||||
Reference in New Issue
Block a user