Skip to content

Commit 81173c9

Browse files
committed
fix(admin-ui): display upload ssa UI if configs are not valid #1310
Signed-off-by: Jeet Viramgama <[email protected]>
1 parent da81ebe commit 81173c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

admin-ui/app/redux/sagas/LicenseSaga.js

+2
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,7 @@ function* uploadNewSsaToken({ payload }) {
193193
yield put(checkLicensePresent())
194194
// window.location.reload()
195195
} catch (error) {
196+
yield put(checkLicenseConfigValidResponse(false))
196197
console.log(error)
197198
}
198199
}
@@ -205,6 +206,7 @@ function* checkAdminuiLicenseConfig() {
205206
yield put(checkLicenseConfigValidResponse(response?.success))
206207
} catch (error) {
207208
console.log(error)
209+
yield put(checkLicenseConfigValidResponse(false))
208210
}
209211
}
210212

0 commit comments

Comments
 (0)