Closed jendamozna closed 2 years ago
I think you might need an upgrade script for this so that the self.config.version
property is not undefined
for older instances/users of this module. If I recall, it is not enough to set a default value for the property in the config fields, because that won't actually get set until the user goes to edit the module config and clicks update.
Also I noticed that you throw a warning for an action not supported in version 2 - but since you know the version, what about just not even providing that action as a choosable option if that's the version they selected?
upgrade script added, v3 only function hidden when running v2
new version with support of openlp 3.0, version can be selected in config, feedbacks structure updated