Remove NODE_ENV conditional so it shows sequence timeline when NODE_ENV is production too
This commit is contained in:
parent
732975d8ef
commit
9c5906cce9
1 changed files with 9 additions and 13 deletions
|
@ -174,7 +174,6 @@ export default class SheetObjectTemplate {
|
||||||
* Not available in core.
|
* Not available in core.
|
||||||
*/
|
*/
|
||||||
getMapOfValidSequenceTracks_forStudio(): IDerivation<IPropPathToTrackIdTree> {
|
getMapOfValidSequenceTracks_forStudio(): IDerivation<IPropPathToTrackIdTree> {
|
||||||
if (process.env.NODE_ENV !== 'production') {
|
|
||||||
return this._cache.get('getMapOfValidSequenceTracks_forStudio', () =>
|
return this._cache.get('getMapOfValidSequenceTracks_forStudio', () =>
|
||||||
this.getArrayOfValidSequenceTracks().map((arr) => {
|
this.getArrayOfValidSequenceTracks().map((arr) => {
|
||||||
let map = {}
|
let map = {}
|
||||||
|
@ -186,9 +185,6 @@ export default class SheetObjectTemplate {
|
||||||
return map
|
return map
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
} else {
|
|
||||||
return new ConstantDerivation({})
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getDefaultsAtPointer(
|
getDefaultsAtPointer(
|
||||||
|
|
Loading…
Reference in a new issue