зеркало из https://github.com/Azure/ipam.git
Added quick search exclusions and unset position for editVnets feature buttons
This commit is contained in:
Родитель
36f193b22e
Коммит
cab2ee79e1
|
@ -652,8 +652,17 @@ export default function EditVnets(props) {
|
|||
</Box>
|
||||
</DialogContent>
|
||||
<DialogActions>
|
||||
<Button onClick={handleClose}>Cancel</Button>
|
||||
<LoadingButton onClick={onSubmit} loading={sending} disabled={unchanged || sending || refreshing || refreshingState}>
|
||||
<Button
|
||||
onClick={handleClose}
|
||||
sx={{ position: "unset" }}
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
<LoadingButton
|
||||
onClick={onSubmit}
|
||||
loading={sending} disabled={unchanged || sending || refreshing || refreshingState}
|
||||
sx={{ position: "unset" }}
|
||||
>
|
||||
Apply
|
||||
</LoadingButton>
|
||||
</DialogActions>
|
||||
|
|
|
@ -407,7 +407,7 @@ export default function NavDrawer() {
|
|||
var newSearchData = [];
|
||||
|
||||
if(vNets) {
|
||||
const vNetExclusions = ['id', 'peerings', 'resv', 'subnets', 'size', 'used', 'available', 'utilization', 'parent_space', 'subscription_id', 'tenant_id', 'metadata'];
|
||||
const vNetExclusions = ['id', 'peerings', 'resv', 'type', 'subnets', 'size', 'used', 'available', 'utilization', 'parent_space', 'subscription_id', 'tenant_id', 'metadata'];
|
||||
const vNetFiltered = objToFilter(vNets, 'Virtual Networks', '/discover/vnet', vNetExclusions);
|
||||
const vNetResults = orderBy(vNetFiltered, 'phrase', 'asc');
|
||||
|
||||
|
@ -419,7 +419,7 @@ export default function NavDrawer() {
|
|||
}
|
||||
|
||||
if(vHubs) {
|
||||
const vHubExclusions = ['id', 'peerings', 'vwan_id'];
|
||||
const vHubExclusions = ['id', 'peerings', 'vwan_id', 'resv', 'type', 'size', 'used', 'available', 'utilization', 'parent_space'];
|
||||
const vHubFiltered = objToFilter(vHubs, 'Virtual Hubs', '/discover/vhub', vHubExclusions);
|
||||
const vHubResults = orderBy(vHubFiltered, 'phrase', 'asc');
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче