Commit e97e269 1 parent 289f096 commit e97e269 Copy full SHA for e97e269
File tree 2 files changed +7
-9
lines changed
2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change @@ -92,9 +92,7 @@ const Home = () => {
92
92
. then ( ( result ) => {
93
93
setAccount ( result ?. account ) ;
94
94
const environments : string [ ] = result ?. account ?. environments ?. map ( ( env ) => env . env ) || [ ] ;
95
- if ( ! environments . includes ( DEFAULT_ENV ) ) {
96
- setSelectedEnvironment ( environments ?. [ 0 ] ) ;
97
- }
95
+ setSelectedEnvironment ( environments ?. [ 0 ] || DEFAULT_ENV ) ;
98
96
} )
99
97
. catch ( ( error ) => {
100
98
Sentry . captureException ( error ) ;
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- export TABLE=accounts; bash ./scripts/ backup_table.sh
4
- export TABLE=environments ; bash scripts /backup_table.sh
5
- export TABLE=apps ; bash scripts /backup_table.sh
6
- export TABLE=users ; bash scripts /backup_table.sh
7
- export TABLE=waitlist ; bash scripts /backup_table.sh
8
- export TABLE=connections ; bash scripts /backup_table.sh
3
+ export TABLE=accounts; bash ./backup_table.sh
4
+ export TABLE=environments ; bash . /backup_table.sh
5
+ export TABLE=apps ; bash . /backup_table.sh
6
+ export TABLE=users ; bash . /backup_table.sh
7
+ export TABLE=waitlist ; bash . /backup_table.sh
8
+ export TABLE=connections ; bash . /backup_table.sh
You can’t perform that action at this time.
0 commit comments