With ES6 you can use this code :
removeDocument(doc){
this.documents.forEach( (item, index) => {
if(item === doc) this.documents.splice(index,1);
});
}
removeDocument(doc){
this.documents.forEach( (item, index) => {
if(item === doc) this.documents.splice(index,1);
});
}
https://superuser.com/questions/590600/ufw-is-active-but-not-enabled-why etting ENABLED=yes in /etc/ufw/ufw.conf did it for me. $ sudo ...
Không có nhận xét nào:
Đăng nhận xét