I can't do any code changes at the moment, but could you try the
following:

In playerMenu()
- Change line 1100 to var serverTop = [];
- Change all this.serverTop to serverTop from lines 1101 to 1157
- Then change lines 1158 to 1161 from

Code:
--------------------
    
  if (this.$store.state.serverMenus && 0==this.history.length) {
  console.log("set items to these");
  this.items = this.serverTop;
  }
  
--------------------

To:

Code:
--------------------
    
  if (this.$store.state.serverMenus && 0==this.history.length) {
  console.log("set items to these");
  this.items = serverTop;
  }
  this.serverTop = serverTop;
  
--------------------


Javascript (AFAIK) is single-threaded. But the updating of serverTop is
in a 'promise', so perhaps this is where the issue is - as it must be
timing related. The change above will build a temporary serverTop before
setting the one that is used to draw the list. -Might- help...


------------------------------------------------------------------------
cpd73's Profile: http://forums.slimdevices.com/member.php?userid=66686
View this thread: http://forums.slimdevices.com/showthread.php?t=109624

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to