Removed length check
This commit is contained in:
parent
5f81f55987
commit
7da22287ff
|
@ -8,7 +8,7 @@
|
|||
|
||||
// Yes i know this isn't the best way to implement this, but linkylinky dashboard is just a oneshot sideproject r/n.
|
||||
const unsubscribe = UserStore.subscribe((value) => {
|
||||
if (value.isLoggedIn && urls.length == 0) {
|
||||
if (value.isLoggedIn) {
|
||||
urlQuery = Apiclient.getUrls().then((res) => {
|
||||
urls = res;
|
||||
});
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
// Yes i know this isn't the best way to implement this, but linkylinky dashboard is just a oneshot sideproject r/n.
|
||||
const unsubscribe = UserStore.subscribe((value) => {
|
||||
if (value.isLoggedIn && visits.length == 0) {
|
||||
if (value.isLoggedIn) {
|
||||
visitQuery = Apiclient.getVisits().then((res) => {
|
||||
visits = res;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue