Skip to content

Commit

Permalink
Merge pull request #3467 from projectblacklight/import-modal-form-main
Browse files Browse the repository at this point in the history
[main] Import and export modalForm.js so it is included in the rollup build
  • Loading branch information
christinach authored Dec 10, 2024
2 parents 5e8327c + 56a23ca commit 9880cc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions app/javascript/blacklight-frontend/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import BookmarkToggle from 'blacklight-frontend/bookmark_toggle'
import ButtonFocus from 'blacklight-frontend/button_focus'
import FacetSuggest from 'blacklight-frontend/facet_suggest'
import Modal from 'blacklight-frontend/modal'
import ModalForm from 'blacklight-frontend/modalForm'
import SearchContext from 'blacklight-frontend/search_context'
import Core from 'blacklight-frontend/core'

Expand All @@ -10,6 +11,7 @@ export default {
ButtonFocus,
FacetSuggest,
Modal,
ModalForm,
SearchContext,
Core,
onLoad: Core.onLoad
Expand Down
1 change: 0 additions & 1 deletion app/javascript/blacklight-frontend/modal.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@
can be a turbo-stream that defines some HTML fragementsand where on the page to put them:
https://turbo.hotwired.dev/handbook/streams
*/
import ModalForm from 'blacklight-frontend/modalForm'

const Modal = (() => {
const modal = {}
Expand Down

0 comments on commit 9880cc9

Please sign in to comment.