make sure we normalise interfaceLanguage
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
Floatingghost 2024-05-28 04:17:04 +01:00
parent 0b437ab6fd
commit f3934afbd8

View file

@ -154,7 +154,7 @@ const PostStatusForm = {
}
const { postContentType: contentType, postLanguage: defaultPostLanguage, sensitiveByDefault, sensitiveIfSubject, interfaceLanguage, alwaysShowSubjectInput } = this.$store.getters.mergedConfig
const postLanguage = defaultPostLanguage || interfaceLanguage
const postLanguage = defaultPostLanguage || interfaceToISOLanguage(interfaceLanguage)
let statusParams = {
spoilerText: this.subject || '',