Chromium Code Reviews| Index: web/inc/logdog-stream-view/view.ts |
| diff --git a/web/inc/logdog-stream-view/view.ts b/web/inc/logdog-stream-view/view.ts |
| index 5165a36e26bbd7b6086cda6ddb15a91bcd00838c..29841eac30a6208751e206d0ca3cae33d041e5c6 100644 |
| --- a/web/inc/logdog-stream-view/view.ts |
| +++ b/web/inc/logdog-stream-view/view.ts |
| @@ -51,6 +51,8 @@ namespace LogDog { |
| bottom: boolean; |
| /** Is the content fully loaded? */ |
| fullyLoaded: boolean; |
| + /** If not null, link to this URL for the log stream. */ |
|
nodir
2017/05/03 15:36:52
null is not the same as undefined though
dnj
2017/05/03 15:40:43
Ah crap, used to be null, then decided undefined w
|
| + logStreamUrl: string | undefined; |
| /** Text in the status bar. */ |
| loadingState: LoadingState; |
| @@ -80,6 +82,7 @@ namespace LogDog { |
| // Polymer properties. |
| streams: string[]; |
| + streamLinkUrl: string | undefined; |
| mobile: boolean; |
| isSplit: boolean; |
| metadata: boolean; |
| @@ -462,6 +465,7 @@ namespace LogDog { |
| this.comp._setIsSplit(c.split); |
| this.comp._updateSplitVisible(c.split && this.renderedLogs); |
| this.comp._updateBottomVisible(c.bottom && this.renderedLogs); |
| + this.comp.streamLinkUrl = c.logStreamUrl; |
| this.comp._setShowStreamingControls(this.renderedLogs && !c.fullyLoaded); |
| if (c.fullyLoaded) { |