Skip to content

Commit 47c2ff4

Browse files
committed
Fixed MS buttons
1 parent 8f37578 commit 47c2ff4

5 files changed

Lines changed: 7 additions & 13 deletions

File tree

app/AComp/Header.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,9 @@ const Header = (props) => {
77
<div className="logoAndTitle">
88
<img
99
alt="Chronos Logo"
10-
src="app/assets/logo2.png"
10+
src="app/assets/icon2Cropped.png"
1111
id="serviceDashLogo"
1212
/>
13-
<h1>Chronos</h1>
1413
</div>
1514
<div className="left-top">
1615
<h2 className="dashboardHeader">Databases</h2>

app/AComp/Microservices.jsx

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ const Microservices = (props) => {
4646
type="button"
4747
key={`serviceItem${index}${i}`}
4848
onClick={() => {
49-
console.log(element.currentmicroservice);
5049
// IPC communication used to initiate query for information on microservice health information.
5150
ipcRenderer.send('detailsRequest', index);
5251

@@ -83,13 +82,12 @@ const Microservices = (props) => {
8382
// IPC listener responsible for retrieving infomation from asynchronous main process message.
8483
ipcRenderer.on('detailsResponse', (event, data) => {
8584
// Adds returned data to context.
86-
console.log(element.currentmicroservice);
8785
healthdata.detailData = Object.values(JSON.parse(data));
8886
// Updates state. Triggers rerender.
8987
setDetails(
90-
<ServiceDetails service={element.currentmicroservice} />
91-
92-
);
88+
<ServiceDetails service={element.currentMicroservice} />
89+
90+
);
9391
});
9492
}}
9593
>

app/components/AddService.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,6 @@ const AddService = () => {
3737
<img src="app/assets/logo2.png" alt="logo" id="addServiceLogo" />
3838
<h2 className="signUpHeader">
3939
Enter Your Database Information
40-
<sup className="tooltip">
41-
&#9432;
42-
<div className="tooltiptext">{tooltipWriteup}</div>
43-
</sup>
4440
</h2>
4541
<form>
4642
Database Type:

app/components/ServiceDetails.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import Modal from './Modal.jsx';
66
const ServiceDetails = (props) => {
77
// Renders health info detail buttons
88
const { service } = props;
9-
console.log(service);
9+
// console.log(service);
1010
// Hook used to toggle whether or not the Modal component renders
1111
const [modalDisplay, toggleModalDisplay] = useState(false);
1212
// Hook used to set the chart that the Modal displays. The

app/stylesheets/DeleteServices.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
.deleteMicroservice{
22
padding: 10px;
33
margin: 10px;
4-
}
4+
5+
}

0 commit comments

Comments
 (0)