#143 : Panels now edit after using dropdown

From now on, all panels will update/edit themselfs after a dropdown has been used. This will reset the dropdown selection in the user client which results in a smoother user experience.
This commit is contained in:
DJj123dj
2025-03-29 13:16:27 +01:00
parent 51bfb1a367
commit 6d5bdc5dd4
6 changed files with 33 additions and 15 deletions
+3
View File
@@ -5,7 +5,10 @@ export const loadVersionMigrationSystem = async () => {
await preloadMigrationContext()
const lastVersion = await isMigrationRequired()
//save last version to database (OR set to current version if no migration is required)
opendiscord.versions.add(lastVersion ? lastVersion : api.ODVersion.fromString("opendiscord:last-version",opendiscord.versions.get("opendiscord:version").toString()))
if (lastVersion && !opendiscord.flags.get("opendiscord:no-migration").value){
//MIGRATION IS REQUIRED
opendiscord.log("Detected old data!","info")