ngx-timeago icon indicating copy to clipboard operation
ngx-timeago copied to clipboard

fix: not working ssr

Open zbigniewmotyka opened this issue 2 years ago • 0 comments

This PR resolves issue #43

Incorrect behaviour: If time passed to timeago pipe is less than 1 day then ssr waits for clock tick to refresh text returned by pipe.

Fixed behaviour: Clock service is active only in browser. On other platforms clock service immediately sends complete event unsubscribing every listeners.

zbigniewmotyka avatar Oct 02 '21 19:10 zbigniewmotyka