Use current columns
This commit is contained in:
parent
0fb14f0e57
commit
d1e2558af1
|
@ -11,7 +11,7 @@ import HttpService from '../services/HttpService';
|
|||
|
||||
type OwnProps = {
|
||||
onSuccess: (..._args: any[]) => any;
|
||||
columnArray: { Header: string; accessor: string};
|
||||
columnArray: { Header: string; accessor: string };
|
||||
orderBy: string;
|
||||
filterBy: string;
|
||||
buttonText?: string;
|
||||
|
@ -79,7 +79,9 @@ export default function ProcessInstanceListSaveAsReport({
|
|||
onChange={(e) => setIdentifier(e.target.value)}
|
||||
/>
|
||||
</label>
|
||||
<button disabled={!hasIdentifier()} type="submit">{buttonText}</button>
|
||||
<button disabled={!hasIdentifier()} type="submit">
|
||||
{buttonText}
|
||||
</button>
|
||||
</form>
|
||||
);
|
||||
}
|
||||
|
|
|
@ -770,7 +770,7 @@ export default function ProcessInstanceListTable({
|
|||
};
|
||||
|
||||
const saveAsReportComponent = () => {
|
||||
// TODO onSuccess reload/select the new report
|
||||
// TODO onSuccess reload/select the new report in the report search
|
||||
const callback = (_: any) => {};
|
||||
return (
|
||||
<ProcessInstanceListSaveAsReport
|
||||
|
|
Loading…
Reference in New Issue