Added share it
This commit is contained in:
parent
28d8f695c1
commit
cd80d72e32
9 changed files with 219 additions and 7 deletions
|
|
@ -10,4 +10,12 @@ export const currentLocation = () => {
|
|||
return location.get();
|
||||
};
|
||||
|
||||
export const currentLocationHref = () => {
|
||||
if (Meteor.isClient) {
|
||||
return window.location.href;
|
||||
}
|
||||
// FIXME
|
||||
return location.get();
|
||||
};
|
||||
|
||||
export const isHome = () => currentLocation() === '/';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue