Removed unnecessary error parameter in bridge
no issue - The error parameter is passed arround by never used. Removed it to have less type check errors
This commit is contained in:
parent
035ad01f24
commit
dbb78820b3
@ -40,7 +40,7 @@ class Bridge {
|
||||
return themeEngine.getActive();
|
||||
}
|
||||
|
||||
activateTheme(loadedTheme, checkedTheme, error) {
|
||||
activateTheme(loadedTheme, checkedTheme) {
|
||||
let settings = {
|
||||
locale: settingsCache.get('lang')
|
||||
};
|
||||
@ -53,7 +53,7 @@ class Bridge {
|
||||
previousGhostAPI = this.getActiveTheme().engine('ghost-api');
|
||||
}
|
||||
|
||||
themeEngine.setActive(settings, loadedTheme, checkedTheme, error);
|
||||
themeEngine.setActive(settings, loadedTheme, checkedTheme);
|
||||
const currentGhostAPI = this.getActiveTheme().engine('ghost-api');
|
||||
|
||||
if (previousGhostAPI !== undefined && (previousGhostAPI !== currentGhostAPI)) {
|
||||
|
Loading…
Reference in New Issue
Block a user