This commit is contained in:
parent
48cd9e2919
commit
3f1889daa3
|
@ -1,9 +1,10 @@
|
||||||
import ngModule from '../../module';
|
import ngModule from '../../module';
|
||||||
import Textfield from '../textfield/textfield';
|
import Input from '../../lib/input';
|
||||||
import './style.scss';
|
import './style.scss';
|
||||||
|
|
||||||
export default class InputTime extends Textfield {
|
export default class InputTime extends Input {
|
||||||
set offsetedValue(value) {
|
set offsetedValue(value) {
|
||||||
|
if (!value) return;
|
||||||
this._offsetedValue = value;
|
this._offsetedValue = value;
|
||||||
|
|
||||||
let date = new Date(value);
|
let date = new Date(value);
|
||||||
|
|
|
@ -132,6 +132,7 @@ class Controller {
|
||||||
state: `client.card.summary({id: ${value.clientFk}})`,
|
state: `client.card.summary({id: ${value.clientFk}})`,
|
||||||
tooltip: 'Client card'
|
tooltip: 'Client card'
|
||||||
}};
|
}};
|
||||||
|
|
||||||
if (value.stowaway) {
|
if (value.stowaway) {
|
||||||
links.btnTwo = {
|
links.btnTwo = {
|
||||||
icon: 'icon-stowaway',
|
icon: 'icon-stowaway',
|
||||||
|
|
Loading…
Reference in New Issue