vn-verdnaturachat/app/views/SidebarView
Gung Wah e98116587d
[CHORE] Add permissions to Redux (#2914)
* [FIX] Add permissions to Redux store

* add only permissions being used in the app

* add clear permissions reducer

* call RocketChat.hasPermission from reducer

* add server version comparison on getPermissions

* refactor hasPermission function

* refactor hasPermission function

* remove uncomment code

* use Q.experimentalSortBy()

* add coerce function

* Change Rocketchat.hasPermission

* Apply on isReadOnly

* Apply to RoomInfoEditView

* Apply to RoomInfoView and RoomInfoEditView

* canAutoTranslate

* Unnecessary clear permissions

* Revert getUpdatedSince

* Naming fix

Co-authored-by: Diego Mello <diegolmello@gmail.com>
2021-02-25 13:41:44 -03:00
..
SidebarItem.js [FIX] Big names overflow (#2072) 2020-05-08 14:09:36 -03:00
index.js [CHORE] Add permissions to Redux (#2914) 2021-02-25 13:41:44 -03:00
styles.js [NEW] Custom Status (#1811) 2020-03-30 17:19:01 -03:00