jensbuehl / aoe4-guides

Source code for aoe4guides.com: Yet another Age of Empires IV build order tool
https://aoe4guides.com
MIT License
17 stars 6 forks source link

Dont export empty time line #81

Closed schwazza closed 8 months ago

schwazza commented 9 months ago

Most of my build orders I use in combination with the overlay tool. Therefore I try to save as much space on the screen as possible. If I'm not using the time column image it will be exported as "time": "<br>". This leads to a clock symbol and a wider view in the overlay tool. It sill works if I delete the empty "time": "<br>", line in the .json-file which removes the clock symbol. Is it possible not to export the empty line at all?

schwazza commented 9 months ago

The problem only seems to occur if you have previously duplicate a build.

For example: https://aoe4guides.com/builds/Efhok4VWHsgzl8lb7dsC

This is not the case if the BO have been created from scratch.

For example: https://aoe4guides.com/builds/I73CR0tciHgmcGEkQT26

jensbuehl commented 8 months ago

Thx. Will take a look and prevent empty exports. It's on the backlog now. However, time constraints might delay the improvement.

jensbuehl commented 8 months ago

It was just a one-liner. Fixed and published in version 1.6.10.