-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated code to call correct endpoint for key
Also moved ID for current record out of Curval condition
- Loading branch information
1 parent
a13063b
commit 10f3ea0
Showing
4 changed files
with
7 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,5 @@ | ||
//import { getComponentElements, initializeComponent } from 'component' | ||
import { initializeComponent } from 'component'; | ||
import CurvalModalComponent from './lib/component'; | ||
|
||
// Originally this was an async load - this has been changed as the autosave code becomes overcomplex with async | ||
export default (scope) => initializeComponent(scope, '.modal--curval', CurvalModalComponent); | ||
|
||
//export default (scope) => { | ||
// if (!getComponentElements(scope, '.modal--curval').length) return; | ||
|
||
// import(/* webpackChunkName="modal" */ "./lib/component") | ||
// .then(({ default: CurvalModalComponent }) => { | ||
// initializeComponent(scope, '.modal--curval', CurvalModalComponent) | ||
// }); | ||
//} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters