web/satellite: fix duplicate satellite selection on login and forgot password pages
Remove duplicate satellite in selection dropdown on login and forgot password pages. Issue: https://github.com/storj/storj/issues/6121 Change-Id: I81bd0c2c29c695ed9ed7f0d648311448cdc9bf26
This commit is contained in:
parent
a5b1c0432f
commit
614d213432
@ -132,7 +132,8 @@ const satelliteName = computed((): string => {
|
|||||||
* Information about partnered satellites, including name and signup link.
|
* Information about partnered satellites, including name and signup link.
|
||||||
*/
|
*/
|
||||||
const partneredSatellites = computed((): PartneredSatellite[] => {
|
const partneredSatellites = computed((): PartneredSatellite[] => {
|
||||||
return configStore.state.config.partneredSatellites;
|
const satellites = configStore.state.config.partneredSatellites;
|
||||||
|
return satellites.filter(s => s.name !== satelliteName.value);
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -241,7 +241,8 @@ const satelliteName = computed((): string => {
|
|||||||
* Information about partnered satellites, including name and signup link.
|
* Information about partnered satellites, including name and signup link.
|
||||||
*/
|
*/
|
||||||
const partneredSatellites = computed((): PartneredSatellite[] => {
|
const partneredSatellites = computed((): PartneredSatellite[] => {
|
||||||
return configStore.state.config.partneredSatellites;
|
const satellites = configStore.state.config.partneredSatellites;
|
||||||
|
return satellites.filter(s => s.name !== satelliteName.value);
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user