Jake Vanderwerf
11 hours ago f16cb88a3218ac7bb32e43f0e0a2542d35c7a01b
assets/js/concise/Queue.js
@@ -31,6 +31,7 @@
      this.initElements();
      this.initListeners();
      this.initStore();
      if (this.canUpdateUI && this.ui.panel) {
         this.popup = window.jvbPopup.registerPopup({
            popup: this.ui.panel,
@@ -408,6 +409,7 @@
    OPERATIONS
   ****************************************************************************/
   addToQueue(operation) {
      console.log(operation, 'Adding to queue:');
      const item = {
         id: `u${this.user}_${Date.now()}_${Math.random().toString(36).substring(2, 9)}`,
         endpoint: null,
@@ -616,12 +618,12 @@
               body: requestBody
            }
         );
         console.log('Sending request with data: ', req);
         // console.log('Sending request with data: ', req);
         const result = await response.json();
         if (skip) {
            operation.data = {};
         }
         console.log('Result: ', result);
         // console.log('Result: ', result);
         if (response.ok && result.success) {
            this.notify('sent-to-server', req);
            if (result.id && operation.id !== result.id) {