Skip to content

Commit dcb93eb

Browse files
committed
Fix migration issue
1 parent e25a65f commit dcb93eb

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

module.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "custom-css",
33
"title": "Custom Css",
44
"description": "Add custom css to your world",
5-
"version": "1.1.0",
5+
"version": "1.1.1",
66
"minimumCoreVersion": "0.6.0",
77
"compatibleCoreVersion": "0.6.0",
88
"author": "Cody Swendrowski <cody@swendrowski.us>",

settingsForm.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ export class SettingsForm extends FormApplication {
9595
*/
9696
get: function (sortable) {
9797
var order = Settings.getOrder();
98-
return order ? order.split('|') : [];
98+
try {
99+
return order ? order.split('|') : [];
100+
}
101+
catch {
102+
return [];
103+
}
99104
},
100105

101106
/**

0 commit comments

Comments
 (0)