blob: 0fc21c2fde8c4e5ddff87f23d3c493288dd87171 [file] [log] [blame]
<!-- /********************************************************************************
* Copyright (c) 2020 Contributors to the Eclipse Foundation
*
* See the NOTICE file(s) distributed with this work for additional
* information regarding copyright ownership.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* http://www.eclipse.org/legal/epl-2.0.
*
* SPDX-License-Identifier: EPL-2.0
********************************************************************************/ -->
<div class="diverse-options">
<div class="new-address">
<button class="btn btn-sm btn-primary" (click)="createNewAddressForm()">
{{ 'Address.NewAddress' | translate }}
</button>
</div>
</div>
<ag-grid-angular
autoresizecolumns
class="ag-theme-balham ag-grid-height"
style="width: 100%; height: 100%;"
[gridOptions]="gridOptions"
[rowData]="internalPersonDetailsSandBox.addressList$ | async"
[columnDefs]="columnDefinition"
[rowSelection]="'single'"
[frameworkComponents]="frameworkComponents"
>
</ag-grid-angular>
<app-spinner [isRunning]="internalPersonDetailsSandBox.addressListLoading$ | async"></app-spinner>