update previous addresses on startup
This commit is contained in:
@@ -59,7 +59,7 @@ export default class ConnectionModel {
|
||||
this.storageModel.remove(addressPath);
|
||||
};
|
||||
|
||||
getAddresses = (): string[] => {
|
||||
get addresses(): string[] {
|
||||
const dirPath = storageKeys.previousAddresses;
|
||||
return this.storageModel.list(dirPath);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user