4 Replies Latest reply: Dec 5, 2017 1:34 AM by Jonas Hörström RSS

    Remove object from the dev-hub / Remove promise

    Thomas Pessato

      When I delete a qlik object from the dev-hub, any promise that is right next to it it doesn't get deleted, and throws me syntax error.




      app.getObject('object-01', 'AdjhthZ').then(function(){
           console.log('hey you!');


      If i delete this object right from the 'preview' screen, it doesn't remove the '.then(....' line.



      So, deleting from the preview, it keeps like this:


           console.log('hey you!');



      Is there any way to achieve this 'automatic' delete?