It's a bit but i found the the solution.
if (activeRecordId && model.canRevertRecord( activeRecord ) ) { model.revertRecords( [activeRecord] ); }