🪲 Fix double-profile

This commit is contained in:
Simon Schneegans
2023-01-29 13:55:29 +01:00
parent 8bb0ee26db
commit da9bd8818d
+1 -1
View File
@@ -50,7 +50,7 @@ var ProfileManager = class {
// profile will be created. // profile will be created.
getProfiles() { getProfiles() {
if (this._profiles.length == 0) { if (this._profiles.length == 0) {
this._profiles.push(this._createProfile()); this.createProfile();
} }
return this._profiles; return this._profiles;