summaryrefslogtreecommitdiffstats
path: root/views/calendar/main.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/calendar/main.qml')
-rw-r--r--views/calendar/main.qml38
1 files changed, 30 insertions, 8 deletions
diff --git a/views/calendar/main.qml b/views/calendar/main.qml
index 3cce9adf..d2bdc1c3 100644
--- a/views/calendar/main.qml
+++ b/views/calendar/main.qml
@@ -32,15 +32,37 @@ ApplicationWindow {
32 Component.onCompleted: { 32 Component.onCompleted: {
33 var initialState = { 33 var initialState = {
34 accounts: [{ 34 accounts: [{
35 id: "account1", 35 id: "account1",
36 name: "Test Account" 36 name: "Test Account"
37 }], 37 }],
38 identities: [{ 38 identities: [{
39 account: "account1", 39 account: "account1",
40 name: "Test Identity", 40 name: "Test Identity",
41 address: "identity@example.org" 41 address: "identity@example.org"
42 }], 42 }],
43 resources: [] 43 resources: [{
44 id: "caldavresource",
45 account: "account1",
46 type: "caldav",
47 }],
48 calendars: [{
49 id: "calendar1",
50 name: "Test Calendar",
51 events: [
52 {
53 "summary": "Test Event1",
54 "description": "This is test event #1",
55 "starts": "2018-04-10T14:03:00",
56 "ends": "2018-04-10T17:03:00",
57 },
58 {
59 "summary": "Test Event1",
60 "description": "This is test event #1",
61 "starts": "2018-04-11T09:03:00",
62 "ends": "2018-04-11T14:03:00",
63 },
64 ],
65 }],
44 } 66 }
45 TestStore.setup(initialState) 67 TestStore.setup(initialState)
46 } 68 }