aboutsummaryrefslogtreecommitdiff
path: root/src/js/environment-setup.js
diff options
context:
space:
mode:
authorkaotisk <kaotisk@arching-kaos.org>2024-11-30 13:33:28 +0200
committerkaotisk <kaotisk@arching-kaos.org>2024-11-30 13:33:28 +0200
commit31e92292f140c1e1ee2c7f04e11ba90392f6dab9 (patch)
treeb7ec324e0c599327e3396e66e2399cac6e4332bb /src/js/environment-setup.js
parentc138bd5400c46fd44834b8152b86a996b67c4a3d (diff)
downloadarching-kaos-web-ui-31e92292f140c1e1ee2c7f04e11ba90392f6dab9.tar.gz
arching-kaos-web-ui-31e92292f140c1e1ee2c7f04e11ba90392f6dab9.tar.bz2
arching-kaos-web-ui-31e92292f140c1e1ee2c7f04e11ba90392f6dab9.zip
Fixed scanning buttons and the corresponding functions
Diffstat (limited to 'src/js/environment-setup.js')
-rw-r--r--src/js/environment-setup.js27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/js/environment-setup.js b/src/js/environment-setup.js
index b1eede8..923676c 100644
--- a/src/js/environment-setup.js
+++ b/src/js/environment-setup.js
@@ -22,7 +22,25 @@ export function getMixtapes()
}
var sortedMixtapes = new Array;
+export function setSortedMixtapes(value)
+{
+ sortedMixtapes = value;
+}
+export function getSortedMixtapes()
+{
+ return sortedMixtapes;
+}
+
var zchainsFound = 0;
+export function getZchainsFound()
+{
+ return zchainsFound;
+}
+export function increaseZchainsFound()
+{
+ zchainsFound++;
+}
+
var foundHolders = new Array;
var gpglist = new Array;
var stellarNetworkConfiguredAddresses = 0;
@@ -100,6 +118,15 @@ export function getZchainLoadingStatuses()
}
var zchains = new Array;
+export function getZchains()
+{
+ return zchains;
+}
+export function setZchain(zchain, value)
+{
+ zchains[zchain] = value;
+}
+
var references = new Array;
export function getReferences()
{