Conversation
|
@NNN Could you please review it? |
|
@marla-singer on it. |
55
left a comment
There was a problem hiding this comment.
Looks good. No more errors in the console.
Nice refactoring.
Please change i18n string I've mentioned and I will merge it.
core/lib/i18n/en.i18n.json
Outdated
| "deleteApiBackendConfirmation_deleteButton": "Delete", | ||
| "deleteApiBackendConfirmation_header": "Delete API", | ||
| "deleteApiBackendConfirmation_successMessage": "Successfully deleted API:", | ||
| "deleteApiConfirmation_CancelButton": "Cancel", |
apis/client/delete/delete.html
Outdated
| <button type="button" class="btn btn-default" data-dismiss="modal">{{_ "deleteApiBackendConfirmation_CancelButton"}}</button> | ||
| <button type="button" class="btn btn-danger" id="deleteApi">{{_ "deleteApiBackendConfirmation_deleteButton"}}</button> | ||
| <button type="button" class="btn btn-default" data-dismiss="modal"> | ||
| {{_ "deleteApiConfirmation_CancelButton"}} |
|
@NNN Done |
|
Also if there is an error or something prevents it from deleting, what will happen? |
|
Before It was just console out with error message what isnot good too. I think we should create another issue which will be solve this scenario |
|
@marla-singer I am just not sure that it's the right way to clean those error. @brylie what do you think? |
|
@NNN I think this is close enough for now. I see the original problem was with calling Lets merge the PR. |
Closes #1519