mirror of
https://github.com/axllent/mailpit.git
synced 2025-12-20 00:12:26 +02:00
Chore: Refactor JS functions and remove unused parameters
This commit is contained in:
@@ -257,7 +257,10 @@ export default {
|
||||
if (platforms) {
|
||||
try {
|
||||
this.platforms = JSON.parse(platforms);
|
||||
} catch (e) {}
|
||||
} catch {
|
||||
// if parsing fails, reset to default
|
||||
this.platforms = [];
|
||||
}
|
||||
}
|
||||
|
||||
// set all options
|
||||
|
||||
Reference in New Issue
Block a user