Skip to content

Commit 02c6809

Browse files
committed
fix: fix production headway error
1 parent 6e18600 commit 02c6809

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "gridea",
3-
"version": "0.8.5",
3+
"version": "0.8.3",
44
"private": true,
55
"description": "A static blog writing client. You can use it to record your life, mood, knowledge, notes and ideas...",
66
"keywords": [

src/components/Main.vue

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,10 @@ export default class App extends Vue {
188188
},
189189
}
190190
// @ts-ignore
191-
Headway.init(config)
191+
if (window.Headway) {
192+
// @ts-ignore
193+
Headway.init(config)
194+
}
192195
}
193196
194197
clickMenu(e: any) {

0 commit comments

Comments
 (0)