mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 13:26:08 +00:00
Improve pin
This commit is contained in:
@@ -7,9 +7,21 @@ import { Component, OnInit } from '@angular/core';
|
||||
})
|
||||
export class PinPage implements OnInit {
|
||||
|
||||
code = []
|
||||
constructor() { }
|
||||
|
||||
ngOnInit() {
|
||||
}
|
||||
|
||||
setCode(code: string) {
|
||||
if(this.code.length < 4) {
|
||||
this.code.push(code)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
clearCode(){
|
||||
this.code =[]
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user