- Add an OnRowActivate to allow the Edit Dialog to open
when double-clicking a row on the Org Unit Settings Grid.
Signed-off-by: Kyle Huckins <khuckins@catalyte.io>
Changes to be committed:
modified: Open-ILS/src/eg2/src/app/staff/admin/local/org-unit-settings/org-unit-settings.component.ts
Signed-off-by: Jane Sandberg <sandbej@linnbenton.edu>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Jane Sandberg <sandbergja@gmail.com>
this.gridDataSource.getRows = (pager: Pager, sort: any[]) => {
return this.fetchSettingTypes(pager);
};
+ this.orgUnitSettingsGrid.onRowActivate.subscribe((setting:OrgUnitSetting) => {
+ this.showEditSettingValueDialog(setting);
+ });
}
fetchSettingTypes(pager: Pager): Observable<any> {