mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This commit is contained in:
parent
0115a3ca12
commit
fd3a70d80d
1 changed files with 1 additions and 1 deletions
|
@ -107,7 +107,7 @@ export const repositoryManagement = handleActions<
|
|||
[String(importRepoFailed)]: (state, action: Action<any>) =>
|
||||
produce<RepositoryManagementState>(state, draft => {
|
||||
if (action.payload) {
|
||||
if (action.payload.res.status === 304) {
|
||||
if (action.payload.response && action.payload.response.status === 304) {
|
||||
draft.toastMessage = i18n.translate(
|
||||
'xpack.code.repositoryManagement.repoImportedMessage',
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue