File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ const NameServerGroupAdd = () => {
126
126
} ;
127
127
128
128
const onChange = ( changedValues : any ) => {
129
+
129
130
if ( changedValues . primary !== undefined ) {
130
131
setIsPrimary ( changedValues . primary ) ;
131
132
}
@@ -207,6 +208,7 @@ const NameServerGroupAdd = () => {
207
208
let nsGroupLocal = { } as NameServerGroup ;
208
209
if ( value === customChoice ) {
209
210
nsGroupLocal = nsGroup ;
211
+ nsGroupLocal . domains = [ ] ;
210
212
} else {
211
213
defaultDNSOptions . forEach ( ( nsg ) => {
212
214
if ( value === nsg . name ) {
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ export const transformGroupedDataTable = (
96
96
}
97
97
} ) ;
98
98
groupList = groupList . filter (
99
- ( value , index , arrary ) => arrary . indexOf ( value ) === index
99
+ ( value , index , array ) => array . indexOf ( value ) === index
100
100
) ;
101
101
let groupDataTableRoutes = transformDataTable ( listedRoutes , peers ) ;
102
102
const filterEnabledRoutes = groupDataTableRoutes . filter (
You can’t perform that action at this time.
0 commit comments