Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trib 263 #100

Merged
merged 13 commits into from
May 8, 2024
Merged

Conversation

QualityWebDev
Copy link
Contributor

Added an alert to the "remove" button. To do this I had to copy the "alert" folder from src/app/_services and paste it into src/app/pages/connect-page/_services. Also I had to modify the "onRemoveBtnClick" function in connection-details.page.ts. I also added a type to connection-details.page.ts and imported from "../_services/alert/alert.service."

@haxwell haxwell changed the base branch from develop to feature/connect-page April 28, 2024 06:00
@@ -2,6 +2,7 @@ import {Component, OnInit} from "@angular/core";
import {ActivatedRoute} from "@angular/router";
import { Router} from "@angular/router";
import { ConnectModelService } from '../_services/connect.model.service';
import { AlertService } from "../_services/alert/alert.service";
Copy link
Contributor

Choose a reason for hiding this comment

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

You'll want to import the original alert.service, rather than making a copy of it.


onRemoveBtnClick() {
let self = this;
this._alertService.show({
Copy link
Contributor

Choose a reason for hiding this comment

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

Use proper indenting. Look at other code/classes to see how it's done in other classes.

@QualityWebDev
Copy link
Contributor Author

QualityWebDev commented Apr 29, 2024 via email

@haxwell haxwell mentioned this pull request May 4, 2024
@haxwell
Copy link
Contributor

haxwell commented May 8, 2024

This looks good! Clear up the conflict there, and we can merge!

@haxwell haxwell mentioned this pull request May 8, 2024
@haxwell haxwell merged commit 5a5c9f8 into savvato-software:feature/connect-page May 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants