fix open client card from ticket descriptor #1291
gitea/salix/dev This commit looks good Details

This commit is contained in:
Joan Sanchez 2019-04-01 09:48:22 +02:00
parent 48cd9e2919
commit 3f1889daa3
2 changed files with 4 additions and 2 deletions

View File

@ -1,9 +1,10 @@
import ngModule from '../../module';
import Textfield from '../textfield/textfield';
import Input from '../../lib/input';
import './style.scss';
export default class InputTime extends Textfield {
export default class InputTime extends Input {
set offsetedValue(value) {
if (!value) return;
this._offsetedValue = value;
let date = new Date(value);

View File

@ -132,6 +132,7 @@ class Controller {
state: `client.card.summary({id: ${value.clientFk}})`,
tooltip: 'Client card'
}};
if (value.stowaway) {
links.btnTwo = {
icon: 'icon-stowaway',