Commit e29eb51 1 parent 0c6ef91 commit e29eb51 Copy full SHA for e29eb51
File tree 5 files changed +12
-12
lines changed
component/admin/network/NetworkTrafficUsage
5 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -183,7 +183,7 @@ const useTrafficStats = (
183
183
includedTraffic : number ,
184
184
chartDataSelection : ChartDataSelection ,
185
185
) => {
186
- const connectionCountEnabled = useUiFlag ( 'connectionCount ' ) ;
186
+ const consumptionModelEnabled = useUiFlag ( 'consumptionModel ' ) ;
187
187
const { result } = useTrafficSearch (
188
188
chartDataSelection . grouping ,
189
189
toDateRange ( chartDataSelection , currentDate ) ,
@@ -200,7 +200,7 @@ const useTrafficStats = (
200
200
}
201
201
const traffic = result . data ;
202
202
203
- const chartData = connectionCountEnabled
203
+ const chartData = consumptionModelEnabled
204
204
? toConnectionChartData ( traffic )
205
205
: newToChartData ( traffic ) ;
206
206
const usageTotal = calculateTotalUsage ( traffic ) ;
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ export type UiFlags = {
92
92
granularAdminPermissions ?: boolean ;
93
93
frontendHeaderRedesign ?: boolean ;
94
94
dataUsageMultiMonthView ?: boolean ;
95
- connectionCount ?: boolean ;
95
+ consumptionModel ?: boolean ;
96
96
edgeObservability ?: boolean ;
97
97
} ;
98
98
Original file line number Diff line number Diff line change 168
168
"stoppable" : " ^1.1.0" ,
169
169
"ts-toolbelt" : " ^9.6.0" ,
170
170
"type-is" : " ^1.6.18" ,
171
- "unleash-client" : " ^6.5 .0" ,
171
+ "unleash-client" : " ^6.6 .0" ,
172
172
"uuid" : " ^9.0.0"
173
173
},
174
174
"devDependencies" : {
Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ export type IFlagKey =
64
64
| 'uniqueSdkTracking'
65
65
| 'frontendHeaderRedesign'
66
66
| 'dataUsageMultiMonthView'
67
- | 'connectionCount '
67
+ | 'consumptionModel '
68
68
| 'teamsIntegrationChangeRequests'
69
69
| 'edgeObservability' ;
70
70
@@ -307,8 +307,8 @@ const flags: IFlags = {
307
307
process . env . UNLEASH_EXPERIMENTAL_DATA_USAGE_MULTI_MONTH_VIEW ,
308
308
false ,
309
309
) ,
310
- connectionCount : parseEnvVarBoolean (
311
- process . env . EXPERIMENTAL_CONNECTION_COUNT ,
310
+ consumptionModel : parseEnvVarBoolean (
311
+ process . env . EXPERIMENTAL_CONSUMPTION_MODEL ,
312
312
false ,
313
313
) ,
314
314
teamsIntegrationChangeRequests : parseEnvVarBoolean (
Original file line number Diff line number Diff line change @@ -9281,9 +9281,9 @@ __metadata:
9281
9281
languageName : node
9282
9282
linkType : hard
9283
9283
9284
- " unleash-client@npm:^6.5 .0 " :
9285
- version : 6.5 .0
9286
- resolution : " unleash-client@npm:6.5 .0"
9284
+ " unleash-client@npm:^6.6 .0 " :
9285
+ version : 6.6 .0
9286
+ resolution : " unleash-client@npm:6.6 .0"
9287
9287
dependencies :
9288
9288
http-proxy-agent : " npm:^7.0.2"
9289
9289
https-proxy-agent : " npm:^7.0.5"
@@ -9293,7 +9293,7 @@ __metadata:
9293
9293
murmurhash3js : " npm:^3.0.1"
9294
9294
proxy-from-env : " npm:^1.1.0"
9295
9295
semver : " npm:^7.6.2"
9296
- checksum : 10c0/766f7285a6e3847c5ed60a2c303092be657221a41743a9047f0a09423cff8d82b3e834a1e6f2b7a02f777cb94e7219653d36d2469ba9355b9245e945701dfa92
9296
+ checksum : 10c0/d97805744874a0dd66af7304142c40e0c5eea1958b4a3ebbeb29fdbc0d4a1e9d8bde2f713ffa972d825cd80f11958f19d5bcf97503857a2692c542755ede01ff
9297
9297
languageName : node
9298
9298
linkType : hard
9299
9299
@@ -9409,7 +9409,7 @@ __metadata:
9409
9409
tsc-watch : " npm:6.2.1"
9410
9410
type-is : " npm:^1.6.18"
9411
9411
typescript : " npm:5.4.5"
9412
- unleash-client : " npm:^6.5 .0"
9412
+ unleash-client : " npm:^6.6 .0"
9413
9413
uuid : " npm:^9.0.0"
9414
9414
wait-on : " npm:^7.2.0"
9415
9415
languageName : unknown
You can’t perform that action at this time.
0 commit comments