src/model/cargoBike.ts: fixed data type of bikeWidth

pull/23/head
leonnicolas 4 years ago
parent d83533375f
commit 1edf15ca24
No known key found for this signature in database
GPG Key ID: 088D0743E2B65C07

@ -67,6 +67,7 @@ export function genBoxDimensions (cargoBike: any) {
delete cargoBike.dimensionsAndLoad.minBoxHeight; delete cargoBike.dimensionsAndLoad.minBoxHeight;
delete cargoBike.dimensionsAndLoad.maxBoxHeight; delete cargoBike.dimensionsAndLoad.maxBoxHeight;
} }
/** /**
* Can be used in resolvers to specify, if entry is locked by other user. * Can be used in resolvers to specify, if entry is locked by other user.
* Returns true if locked by other user. * Returns true if locked by other user.

@ -156,7 +156,7 @@ export class DimensionsAndLoad {
@Column({ @Column({
nullable: true, nullable: true,
type: 'numrange' type: 'decimal'
}) })
bikeWidth: number; bikeWidth: number;

Loading…
Cancel
Save