mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
Poprawki w komunikacji z API, odswieżenie kodu
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="select-box" v-click-outside="clickedOutside">
|
||||
<div class="select-box">
|
||||
<div class="select-box_content">
|
||||
<button class="selected" @click="toggleBox">
|
||||
{{ computedSelectedItem.value }}
|
||||
|
||||
@@ -136,7 +136,7 @@ import dateMixin from "@/mixins/dateMixin";
|
||||
import { DataStatus } from "@/scripts/enums/DataStatus";
|
||||
|
||||
const API_URL =
|
||||
"https://stacjownik-api-m9z4k.ondigitalocean.app/api/getTimetables";
|
||||
"https://stacjownik-api-n5re2.ondigitalocean.app/api/getTimetables";
|
||||
|
||||
interface APIResponse {
|
||||
errorMessage: string | null;
|
||||
@@ -222,8 +222,6 @@ export default defineComponent({
|
||||
} catch (error) {
|
||||
historyDataStatus.value.status = DataStatus.Error;
|
||||
historyDataStatus.value.error = "Ups! Coś poszło nie tak!";
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user