fix: add anchor for station
This commit is contained in:
@@ -283,16 +283,12 @@ class SnapshotStore {
|
||||
{ headers: { "X-Request-ID": this.lastRequestId } }
|
||||
);
|
||||
|
||||
// Не ждем здесь, так как статус будет загружен в компоненте
|
||||
// this.getSnapshotStatus(response.data.ID);
|
||||
|
||||
return response.data.ID;
|
||||
};
|
||||
|
||||
getSnapshotStatus = async (id: string) => {
|
||||
const response = await authInstance.get(`/snapshots/status/${id}`);
|
||||
|
||||
console.log(response.data);
|
||||
runInAction(() => {
|
||||
this.snapshotStatus = response.data;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user