Refactor origin to cluster (#1210)
This commit is contained in:
1 parent
40ba4286d3
commit
4fcb005a1f
43 files changed
+492
-609
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user