aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-02-11 14:33:47 +0100
committerChocobozzz <me@florianbigard.com>2019-02-11 14:33:47 +0100
commit6913f69134947432a192890b2de7c2d48094e85c (patch)
treec741ecbea6fdeb67a3eb2a6c9581a9925feac220 /client/src/app/shared
parentb718fd22374d64534bcfe69932cf562894abed6a (diff)
downloadPeerTube-6913f69134947432a192890b2de7c2d48094e85c.tar.gz
PeerTube-6913f69134947432a192890b2de7c2d48094e85c.tar.zst
PeerTube-6913f69134947432a192890b2de7c2d48094e85c.zip
Move original publication date in advanced settings
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/video/video-edit.model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/video/video-edit.model.ts b/client/src/app/shared/video/video-edit.model.ts
index c5d5bb406..1f633d427 100644
--- a/client/src/app/shared/video/video-edit.model.ts
+++ b/client/src/app/shared/video/video-edit.model.ts
@@ -57,7 +57,7 @@ export class VideoEdit implements VideoUpdate {
57 this.previewUrl = video.previewUrl 57 this.previewUrl = video.previewUrl
58 58
59 this.scheduleUpdate = video.scheduledUpdate 59 this.scheduleUpdate = video.scheduledUpdate
60 this.originallyPublishedAt = new Date(video.originallyPublishedAt) 60 this.originallyPublishedAt = video.originallyPublishedAt ? new Date(video.originallyPublishedAt) : null
61 } 61 }
62 } 62 }
63 63