fix menu item not being removed from side menu after share state manipulation

pull/2437/head
Mihail Maxacov 10 years ago
parent ae000e8fd6
commit 40b48e7b11
  1. 2
      frontend/app/services/query-service.js

@ -317,7 +317,7 @@ module.exports = function(Query, Sortation, $http, PathHelper, $q, AVAILABLE_WOR
var url = query.project_id ? PathHelper.apiProjectQueryPath(query.project_id, query.id) : PathHelper.apiQueryPath(query.id);
return QueryService.doQuery(url, query.toUpdateParams(), 'PUT', function(response) {
query.save(response.data.query);
query.dirty = false;
QueryService.fetchAvailableGroupedQueries(query.project_id);
return angular.extend(response.data, { status: { text: I18n.t('js.notice_successful_update') }} );

Loading…
Cancel
Save