Skip to content

Commit e97a94e

Browse files
committed
fix(admin-ui): remove toast on search
1 parent 08155a3 commit e97a94e

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

admin-ui/plugins/schema/redux/sagas/AttributeSaga.js

-2
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ export function* searchAttributes({ payload }) {
6161
addAdditionalData(audit, FETCH, PERSON_SCHEMA, payload)
6262
const attributeApi = yield* newFunction()
6363
const data = yield call(attributeApi.searchAttributes, payload.options)
64-
yield put(updateToast(true, 'success'))
6564
yield put(getAttributesResponse(data))
6665
yield call(postUserAction, audit)
6766
} catch (e) {
68-
yield put(updateToast(true, 'error'))
6967
yield put(getAttributesResponse(null))
7068
if (isFourZeroOneError(e)) {
7169
const jwt = yield select((state) => state.authReducer.userinfo_jwt)

0 commit comments

Comments
 (0)