Skip to content

Commit

Permalink
fix: cancel button modal confirm delete api not work
Browse files Browse the repository at this point in the history
  • Loading branch information
yv-101 committed May 13, 2024
1 parent 0cf6173 commit ff1864e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Resource/template/admin/OAuth/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -145,15 +145,15 @@ file that was distributed with this source code.
<h5 class="modal-title fw-bold">
{{ 'api.admin.oauth.delete__confirm_title'|trans }}
</h5>
<button class="close" type="button" data-dismiss="modal" aria-label="Close">
<button class="close" type="button" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body text-start">
<p class="text-start">{{ 'api.admin.oauth.delete__confirm_message'|trans }}</p>
</div>
<div class="modal-footer">
<button class="btn btn-ec-sub" type="button" data-dismiss="modal">
<button class="btn btn-ec-sub" type="button" data-bs-dismiss="modal">
{{ 'admin.common.cancel'|trans }}
</button>
<a class="btn btn-ec-delete" href="{{ url('admin_api_oauth_delete', {identifier: client.identifier}) }}"
Expand Down
4 changes: 2 additions & 2 deletions Resource/template/admin/WebHook/index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,15 @@ file that was distributed with this source code.
<h5 class="modal-title fw-bold">
{{ 'api.admin.webhook.delete__confirm_title'|trans }}
</h5>
<button class="close" type="button" data-dismiss="modal" aria-label="Close">
<button class="close" type="button" data-bs-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body text-start">
<p class="text-start">{{ 'api.admin.webhook.delete__confirm_message'|trans }}</p>
</div>
<div class="modal-footer">
<button class="btn btn-ec-sub" type="button" data-dismiss="modal">
<button class="btn btn-ec-sub" type="button" data-bs-dismiss="modal">
{{ 'admin.common.cancel'|trans }}
</button>
<a class="btn btn-ec-delete" href="{{ url('admin_api_webhook_delete', {id: webhook.id}) }}"
Expand Down

0 comments on commit ff1864e

Please sign in to comment.