Skip to content
This repository was archived by the owner on Apr 12, 2023. It is now read-only.

these files are updated - #311

Open
Haider-Miakhel wants to merge 1 commit into
JBossOutreachArchive:masterfrom
Haider-Miakhel:master
Open

these files are updated#311
Haider-Miakhel wants to merge 1 commit into
JBossOutreachArchive:masterfrom
Haider-Miakhel:master

Conversation

@Haider-Miakhel

Copy link
Copy Markdown

Check by changing each [ ] to [x] Please take note of the white-space as it matters.

  • This Pull request
    • Fixes a bug.
    • Implements a new feature.
  • I have read the [CONTRIBUTING.md] .
  • I have included a description of changes below.
  • I have included screenshots showing before and after the changes were made.
  • I have squashed the commits (mandatory).

Description / Changes

  • Fixes #

Screenshots

@anshumanv anshumanv left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some comments, also remove the lock files.

Comment thread .angulardoc.json
@@ -0,0 +1,4 @@
{

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change is not needed?


export class Environment {
public static production = false;
public static baseUrl = 'https://cert-gen-jboss.herokuapp.com/';

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't change the API endpoint.

<nav class="navbar navbar-expand-md ">
<a class="navbar-brand" href="#">Certificate Generator</a>
<div>
<nav class="navbar navbar-expand-md ">

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Revert unnecessary lint changes.

export class StatusService {

isLoggedIn = new BehaviorSubject<boolean>(false);
checkStatus = this.isLoggedIn.asObservable();

@anshumanv anshumanv Jan 13, 2020

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For this use case, creating a simple fn to check the auth status should suffice, instead of creating a service and passing it around.

isLoggedin = () => localStorage.getItem('token') !== null

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants