Skip to content

Commit edcd965

Browse files
fix funciton typeError
1 parent e151409 commit edcd965

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/containers/AdminPhoneNumberInventory.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -348,11 +348,11 @@ class AdminPhoneNumberInventory extends React.Component {
348348
}
349349

350350
if (this.state.queriedShortcodes){
351-
this.numShortcodes = ownedAreaCodes().filter(j => ownedAreaCodes.indexOf('Shortcode') === -1).length
351+
this.numShortcodes = ownedAreaCodes.filter(j => ownedAreaCodes.indexOf('Shortcode') === -1).length
352352
}
353353

354354
if (this.state.queriedTollfree){
355-
this.numTollfreeNumbers = ownedAreaCodes().filter(j => ownedAreaCodes.indexOf('Tollfree') === -1).length
355+
this.numTollfreeNumbers = ownedAreaCodes.filter(j => ownedAreaCodes.indexOf('Tollfree') === -1).length
356356
}
357357

358358
this.sortTable(tableData, this.state.sortCol, this.state.sortOrder);

0 commit comments

Comments
 (0)