mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-05 22:53:57 +00:00
Use current columns
This commit is contained in:
parent
6ec3f775af
commit
02c113fb54
@ -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…
x
Reference in New Issue
Block a user