mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-25 01:16:18 -05:00
Changing Archive Sync to Update and Alternatives to History.
This commit is contained in:
parent
a17eb6559e
commit
11bd59cec0
7 changed files with 51 additions and 53 deletions
|
|
@ -411,7 +411,7 @@ export async function getArchive(archiveId) {
|
|||
const response = await apiGet(`${ARCHIVES_API}/${archiveId}`);
|
||||
if (response.status === 200) {
|
||||
const data = await response.json();
|
||||
return [data['file'], data['alternatives']];
|
||||
return [data['file'], data['history']];
|
||||
} else {
|
||||
toast({
|
||||
type: 'error', title: 'Archive Error', description: 'Unable to get Archive. See server logs.', time: 5000,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue