SYP-AHIF-2023-24-25 / SolarDoc

SolarDoc for creating beautiful presentations with your colleagues in your browser using AsciiDoc 🌌✨
http://solardoc.htl-leonding.ac.at
GNU General Public License v3.0
3 stars 1 forks source link

First-time visitors incorrectly get `Saved Remotely` shown as the file status #182

Closed Luna-Klatzer closed 3 months ago

Luna-Klatzer commented 3 months ago

First-time visitors incorrectly get Saved Remotely shown as the file status. This is most likely caused by the local storage variable file-permissions not being set, as it would if you were to click the New File button.

Luna-Klatzer commented 3 months ago

This bug was caused by the file store using an obsolete property saveState, which now has been replaced by the getter remoteFile, which relies on the fileId being present i.e. the remote ID given when a file is saved on the server.

Luna-Klatzer commented 3 months ago

Fixed by #184.