Added preference_changed web socket event
Этот коммит содержится в:
@@ -148,3 +148,10 @@ export function emitClearSuggestions(suggestionId) {
|
||||
id: suggestionId
|
||||
});
|
||||
}
|
||||
|
||||
export function emitPreferenceChangedEvent(preference) {
|
||||
AppDispatcher.handleServerAction({
|
||||
type: Constants.ActionTypes.RECIEVED_PREFERENCE,
|
||||
preference
|
||||
});
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user