fix: add anchor for station

This commit is contained in:
2025-11-28 02:36:03 +03:00
parent c5c5f835bc
commit 79539d0583
2 changed files with 170 additions and 171 deletions

View File

@@ -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;
});