mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 00:47:04 +03:00
Cleanup and better rename settings screens to match template names
This commit is contained in:
parent
30116c183f
commit
4dd58f7c36
83 changed files with 267 additions and 323 deletions
|
|
@ -278,7 +278,12 @@ export const
|
|||
}
|
||||
});
|
||||
|
||||
forEachObjectValue(SCREENS, vmScreen => vmScreen.onStart());
|
||||
forEachObjectValue(SCREENS, vmScreen => {
|
||||
if (!vmScreen.__started) {
|
||||
vmScreen.onStart();
|
||||
vmScreen.__started = true;
|
||||
}
|
||||
});
|
||||
|
||||
const cross = new Crossroads();
|
||||
cross.addRoute(/^([a-zA-Z0-9-]*)\/?(.*)$/, screenOnRoute);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue