tab: fix nil modification time
This commit is contained in:
parent
641016da10
commit
14cba7f648
@ -324,7 +324,7 @@ class Tab < OpenStruct
|
|||||||
end
|
end
|
||||||
|
|
||||||
def source_modified_time
|
def source_modified_time
|
||||||
Time.at(super)
|
Time.at(super || 0)
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_json(options = nil)
|
def to_json(options = nil)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user