Skip to content

Commit

Permalink
Fix geometry select
Browse files Browse the repository at this point in the history
  • Loading branch information
DraTeots committed Jul 24, 2024
1 parent ae6d6ce commit c07f9d6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions firebird-ng/src/app/app.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import { ApplicationConfig, importProvidersFrom } from '@angular/core';
import { provideRouter } from '@angular/router';
import { routes } from './app.routes';
import {provideAnimations} from "@angular/platform-browser/animations";

export const appConfig: ApplicationConfig = {
providers: [
provideRouter(routes),
provideAnimations()
]
};
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@ export class ResourceSelectComponent implements OnInit {

ngOnInit(): void {
// Connect value changes with the control output
this.value.valueChanges.subscribe(this.valueChange.emit);
this.value.valueChanges.subscribe(()=>{
this.valueChange.emit(this.value.value)
});
}

/**
Expand Down

0 comments on commit c07f9d6

Please sign in to comment.