Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 9641b62f

Přidáno uživatelem Fantič před více než 1 rok

re #10844: PlanViewPage: Plan types, Select place, room ,floor handle

Zobrazit rozdíly:

src/stores/reducers/planSlice.ts
3 3

  
4 4
const initialState: PlanViewState = {
5 5
    lastError: "",
6
    planLoading: true,
6
   
7

  
8

  
9
    // TODO backend -> retrieve list of floors, not static -> not implemented at the time of coding
10
    floorList: [
11
        { label: "Ground floor", id: "ground_floor", roomList: [] },
12
        { label: "First floor", id: "first_floor", roomList: [] },
13
        { label: "Second floor", id: "second_floor", roomList: [] }
14
    ],
15
    floorListLoading: false,
16

  
17
    itemList: [],
18

  
7 19
}
8 20

  
9 21
export const planSlice = createSlice({

Také k dispozici: Unified diff