Skip to content

Commit

Permalink
fix: selected language does not set via blog composer (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
imorland authored Oct 31, 2023
1 parent 1d2c286 commit 34dabd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/src/forum/pages/BlogComposer.js
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ export default class BlogComposer extends Page {

// Add languages if possible
if (this.languages.length > 0) {
relationships.language = app.store.getBy('discussion-languages', 'code', this.articleLanguage);
relationships.language = app.store.getBy('discussion-languages', 'code', this.articleLanguage());
}

const data = {
Expand Down

0 comments on commit 34dabd6

Please sign in to comment.