Refactor origin to cluster (#1210)

This commit is contained in:
Carlos Alcaide Corvo authored and GitHub committed 2022-07-27 10:25:01 -07:00
1 parent 40ba4286d3
commit 4fcb005a1f
43 files changed
+492 -609

No files matched your search

+8 -8
View File
@@ -15,19 +15,19 @@ export default function initializeMockIPC(server, config) {
return await this[method](payload);
}
origin = null;
clusterUrl = null;
getOrigin() {
return this.origin;
getClusterUrl() {
return this.clusterUrl;
}
setOrigin(origin) {
this.origin = origin;
return this.origin;
setClusterUrl(clusterUrl) {
this.clusterUrl = clusterUrl;
return this.clusterUrl;
}
resetOrigin() {
this.origin = null;
resetClusterUrl() {
this.clusterUrl = null;
}
openExternal(href) {