yshavit / whatdid

What did I do all day?
MIT License
8 stars 0 forks source link

PTN initializes to wrong P/T on startup #364

Open yshavit opened 11 months ago

yshavit commented 10 months ago

Can't reproduce with the following dummy data. When I feed this into the mocked data and open up the PTN, it correctly shows b > b3 as the default.

[
    {
        "to": 60000,
        "project": "a",
        "task": "a1",
        "notes": "",
        "from": 0
    },
    {
        "to": 120000,
        "project": "a",
        "task": "a2",
        "notes": "",
        "from": 60000
    },
    {
        "to": 180000,
        "project": "a",
        "task": "a3",
        "notes": "",
        "from": 120000
    },
    {
        "to": 240000,
        "project": "b",
        "task": "b1",
        "notes": "",
        "from": 180000
    },
    {
        "to": 300000,
        "project": "b",
        "task": "b2",
        "notes": "",
        "from": 240000
    },
    {
        "to": 360000,
        "project": "b",
        "task": "b3",
        "notes": "",
        "from": 300000
    }
]