Handle character limit in initial state in frontend.
This commit is contained in:
parent
ca704f09dd
commit
0aafacfb39
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@ export const favouriteModal = getMeta('favourite_modal');
|
|||
export const deleteModal = getMeta('delete_modal');
|
||||
export const me = getMeta('me');
|
||||
export const searchEnabled = getMeta('search_enabled');
|
||||
export const maxChars = (initialState && initialState.max_toot_chars) || 500;
|
||||
export const maxChars = getMeta('max_toot_chars') || 500;
|
||||
export const pollLimits = (initialState && initialState.poll_limits);
|
||||
export const invitesEnabled = getMeta('invites_enabled');
|
||||
export const version = getMeta('version');
|
||||
|
|
|
@ -12,7 +12,7 @@ export const boostModal = getMeta('boost_modal');
|
|||
export const deleteModal = getMeta('delete_modal');
|
||||
export const me = getMeta('me');
|
||||
export const searchEnabled = getMeta('search_enabled');
|
||||
export const maxChars = (initialState && initialState.max_toot_chars) || 500;
|
||||
export const maxChars = getMeta('max_toot_chars') || 500;
|
||||
export const invitesEnabled = getMeta('invites_enabled');
|
||||
export const repository = getMeta('repository');
|
||||
export const source_url = getMeta('source_url');
|
||||
|
|
Loading…
Reference in a new issue