open-nomad/ui/mirage
Buck Doyle 90ecbdf522
Add job version revert buttons (#10336)
This adds a Revert two-step button to the JobVersions component for
not-current versions, which redirects to the overview on success. It
checks the job version before and after reversion to mitigate the edge
case where reverting to an otherwise-identical version has no effect, as
discussed in #10337.

It uses existing facilities for handling other errors and disabling the
button when permissions are lacking.
2021-04-20 08:33:16 -05:00
..
data
factories Add exchange of one-time token on UI load (#10066) 2021-04-01 13:21:30 -05:00
models csi/api: populate ReadAllocs/WriteAllocs fields (#9377) 2020-11-25 16:44:06 -05:00
scenarios Add query parameter to override Mirage scenario (#9380) 2020-11-30 08:12:15 -06:00
serializers Fix allocation count in CSI volumes table (#9515) 2020-12-07 08:51:41 -06:00
common.js Migrate to the new resources properties for allocs and nodes 2020-10-15 02:54:16 -07:00
config.js Add job version revert buttons (#10336) 2021-04-20 08:33:16 -05:00
faker.js Add DAS UI code from enterprise (#9192) 2020-10-29 07:46:42 -05:00
utils.js UI: Change Mirage data to be stable in development (#6389) 2019-10-03 09:13:08 -05:00