Skip to content

Commit 9630c70

Browse files
committed
fix frame error
1 parent ec5be03 commit 9630c70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/models/frame.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class frame {
103103
}
104104

105105
get stop() {
106-
return this.timezone ? moment(this._stop).tz(this.timezone) : moment(this._stop);
106+
return this.timezone ? moment(this._stop).tz(this.timezone) : (this._stop ? moment(this._stop) : false );
107107
}
108108

109109
/**

0 commit comments

Comments
 (0)