Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FOUR-14010 | Fix Cancel Button for Selecting Existing Imported Assets #6148

Merged
merged 1 commit into from
Feb 2, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 3 additions & 5 deletions resources/js/components/templates/AssetLoadingModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
:setCustomButtons="true"
:customButtons="customModalButtons"
@onSubmit="onSubmit"
@hidden="close"
@close="close"
>
<div>
<p class="mt-1">Are you sure you want to proceed with your selection?</p>
Expand Down Expand Up @@ -41,8 +41,8 @@ export default {
return {
loading: false,
customModalButtons: [
{"content": "Cancel", "action": "close", "variant": "outline-secondary", "disabled": false, "hidden": false},
{"content": "Yes", "action": "onSubmit", "variant": "primary", "disabled": false, "hidden": false},
{"content": "Cancel", "action": "close", "variant": "outline-secondary"},
{"content": "Yes", "action": "onSubmit", "variant": "primary"},
],
}
},
Expand All @@ -63,8 +63,6 @@ export default {
this.$emit("submitAssets");
},
},
mounted() {
}
};
</script>

Expand Down