AK
Size: a a a
AK
АП
A
A
AS
A
A
М
this.attributeService.create(newAttribute).subscribe(
attribute => {
this.attributes.push(attribute)
},
error => console.log(error),
completed
)
AS
this.attributeService.create(newAttribute).subscribe(
attribute => {
this.attributes.push(attribute)
},
error => console.log(error),
completed
)
М
this.attributeService.create(newAttribute).subscribe(
attribute => {
this.attributes.push(attribute)
},
error => {
console.log(error)
completed
},
completed
)
D
this.attributeService.create(newAttribute).subscribe(
attribute => {
this.attributes.push(attribute)
},
error => console.log(error),
completed
)
М
V
this.attributeService.create(newAttribute).subscribe(
attribute => {
this.attributes.push(attribute)
},
error => console.log(error),
completed
)
М
V
М
const completed = () => {
console.log('completed func')
this.modalAttribute.close()
this.formAttribute.reset({name: '', descr: ''})
this.formAttribute.enable()
}V
const completed = () => {
console.log('completed func')
this.modalAttribute.close()
this.formAttribute.reset({name: '', descr: ''})
this.formAttribute.enable()
}