stateDuration: 0,
          stateSave: true,
        });
      }
      else {
        $('#operationsDataTable').DataTable().ajax.reload(null, false);
      }

      operationsDataTable.on('select deselect', function () {
        var selectedRows = operationsDataTable.rows({ selected: true }).count();
        operationsDataTable.button(0).enable(selectedRows > 0);
      });
    }

    function deleteItem(name){
      console.log("Info: deleting operation " + name);
      $.post("{{ url_for('api') }}/operatio