mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 11:00:03 -03:30
delete unused method
This commit is contained in:
parent
04bd4d973a
commit
c2a223bbb4
@ -12,10 +12,7 @@ import DataListToolbar from '../DataListToolbar';
|
||||
import NotificationListItem from './NotificationListItem';
|
||||
import Pagination from '../Pagination';
|
||||
|
||||
import {
|
||||
encodeQueryString,
|
||||
parseQueryString,
|
||||
} from '../../qs';
|
||||
import { parseQueryString } from '../../qs';
|
||||
|
||||
class Notifications extends Component {
|
||||
columns = [
|
||||
@ -55,7 +52,6 @@ class Notifications extends Component {
|
||||
this.handleSetPage = this.handleSetPage.bind(this);
|
||||
this.handleSelectAll = this.handleSelectAll.bind(this);
|
||||
this.toggleNotification = this.toggleNotification.bind(this);
|
||||
this.updateUrl = this.updateUrl.bind(this);
|
||||
this.createError = this.createError.bind(this);
|
||||
this.createSuccess = this.createSuccess.bind(this);
|
||||
this.readNotifications = this.readNotifications.bind(this);
|
||||
@ -120,16 +116,6 @@ class Notifications extends Component {
|
||||
this.handleSort(sortedColumnKey, sortOrder);
|
||||
}
|
||||
|
||||
updateUrl (queryParams) {
|
||||
const { history, location, match } = this.props;
|
||||
const pathname = match.url;
|
||||
const search = `?${encodeQueryString(queryParams)}`;
|
||||
|
||||
if (search !== location.search) {
|
||||
history.replace({ pathname, search });
|
||||
}
|
||||
}
|
||||
|
||||
async createError (id, isCurrentlyOn) {
|
||||
const { onCreateError, match } = this.props;
|
||||
const postParams = { id };
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user