commit changes

This commit is contained in:
João Mendes 2020-07-28 00:01:37 +01:00
parent 2a8d714b3c
commit b506f51222
1 changed files with 9 additions and 9 deletions

View File

@ -184,7 +184,7 @@ export default class ManageProfileCardProperties extends React.Component<
default: default:
return null; return null;
} }
}; }
// //
// Component did mount // Component did mount
@ -226,7 +226,7 @@ export default class ManageProfileCardProperties extends React.Component<
}); });
console.log(error); console.log(error);
} }
}; }
// Get Profile Properties // Get Profile Properties
// //
@ -248,7 +248,7 @@ export default class ManageProfileCardProperties extends React.Component<
} }
} }
return _listItems; return _listItems;
}; }
// On Column Click // On Column Click
private _onColumnClick = ( private _onColumnClick = (
@ -278,7 +278,7 @@ export default class ManageProfileCardProperties extends React.Component<
listFields: newlistFields, listFields: newlistFields,
listItems: newItems, listItems: newItems,
}); });
}; }
private _copyAndSort<T>( private _copyAndSort<T>(
items: T[], items: T[],
@ -317,7 +317,7 @@ export default class ManageProfileCardProperties extends React.Component<
default: default:
break; break;
} }
}; }
// Reset sort Order columns to default // Reset sort Order columns to default
private _resetSortOrder = () => { private _resetSortOrder = () => {
@ -341,7 +341,7 @@ export default class ManageProfileCardProperties extends React.Component<
} }
} }
this.setState({ listFields: _copyListFields }); this.setState({ listFields: _copyListFields });
}; }
// On Refresh List // On Refresh List
private _onRefresh = async () => { private _onRefresh = async () => {
@ -354,7 +354,7 @@ export default class ManageProfileCardProperties extends React.Component<
selectedItem: undefined, selectedItem: undefined,
isLoading: false, isLoading: false,
}); });
}; }
// On Dismiss Panel // On Dismiss Panel
private _onPanelDismiss = async (refresh: boolean) => { private _onPanelDismiss = async (refresh: boolean) => {
@ -374,7 +374,7 @@ export default class ManageProfileCardProperties extends React.Component<
displayDeletePanel: false, displayDeletePanel: false,
}); });
} }
}; }
// Search List // Search List
private _onSearch = async (value: string) => { private _onSearch = async (value: string) => {
@ -408,7 +408,7 @@ export default class ManageProfileCardProperties extends React.Component<
this._resetSortOrder(); this._resetSortOrder();
this._selection.setAllSelected(false); this._selection.setAllSelected(false);
this.setState({ listItems: _filteredList }); this.setState({ listItems: _filteredList });
}; }
// Render Component // Render Component
public render(): React.ReactElement<IManageProfileCardPropertiesProps> { public render(): React.ReactElement<IManageProfileCardPropertiesProps> {