Let the front-end know the current account is a moderator

This commit is contained in:
Thibaut Girka
2018-08-31 12:10:38 +02:00
committed by ThibG
parent b3fdd166e8
commit 6ad7dac791
2 changed files with 2 additions and 0 deletions

View File

@ -21,5 +21,6 @@ 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 isStaff = getMeta('is_staff');
export default initialState;