Hi Alex,



Now, without trying to make your code as efficient as possible, adding these lines in the server script under after the gr.update() line should make it work:



data.showResolve = true;


data.showReopen = false;



This should hide the reopen button and show the resolve button