@@ -232,16 +238,11 @@ function UserListItem(props: { user: UserAssignedModel; facilityId: string }) {
}
-
+
- {user.first_name} {user.last_name}
-
- (
- {isHomeUser(user, facilityId)
- ? user.user_type
- : `TeleICU Hub ${user.user_type}`}
- )
-
+
+ {user.first_name} {user.last_name}
+
-
+
);
}
diff --git a/src/Components/Patient/ManagePatients.tsx b/src/Components/Patient/ManagePatients.tsx
index 51baa4d1a28..35a5bbfea02 100644
--- a/src/Components/Patient/ManagePatients.tsx
+++ b/src/Components/Patient/ManagePatients.tsx
@@ -105,7 +105,6 @@ export const PatientManager = () => {
const [diagnoses, setDiagnoses] = useState
([]);
const [showDialog, setShowDialog] = useState<"create" | "list-discharged">();
const [showDoctors, setShowDoctors] = useState(false);
- const [showDoctorConnect, setShowDoctorConnect] = useState(false);
const [phone_number, setPhoneNumber] = useState("");
const [phoneNumberError, setPhoneNumberError] = useState("");
const [emergency_phone_number, setEmergencyPhoneNumber] = useState("");
@@ -248,12 +247,6 @@ export const PatientManager = () => {
qParams.diagnoses_differential,
]);
- useEffect(() => {
- if (params.facility) {
- setShowDoctorConnect(true);
- }
- }, [qParams.facility]);
-
const date_range_fields = [
[params.created_date_before, params.created_date_after],
[params.modified_date_before, params.modified_date_after],
@@ -785,7 +778,7 @@ export const PatientManager = () => {
}}
isTab2Active={!!tabValue}
/>
- {showDoctorConnect && (
+ {!!params.facility && (
{
From 4959fc6be4049c978f34a2d6d01a7c719cbe5fd2 Mon Sep 17 00:00:00 2001
From: Rithvik Nishad
Date: Fri, 26 Apr 2024 17:32:48 +0530
Subject: [PATCH 4/4] Correct spelling for comment on PR close on stale (#7717)
* fixes #7713
* Update .github/workflows/stale.yml
* update all messages
* fix spelling mistake
---
.github/workflows/stale.yml | 4 ++--
src/Components/Facility/DoctorVideoSlideover.tsx | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 0e4c9005787..8964b0c8e57 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -13,9 +13,9 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-label: "stale"
stale-pr-label: "stale"
- stale-issue-message: "Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, @aparnacoronasafe, This issue has been automatically marked as stale because it has not had any recent activity."
+ stale-issue-message: "Hi, @coronasafe/care-frontend-maintainers, This issue has been automatically marked as stale because it has not had any recent activity."
stale-pr-message: "Hi, This pr has been automatically marked as stale because it has not had any recent activity. It will be automatically closed if no further activity occurs for 7 more days. Thank you for your contributions."
- close-pr-message: "Hi, @gigincg, @nihal467, @khavinshankar, @mathew-alex, This pr has been automatically closed because it has not had any recent activity. Thank you for your contributions. Feel free to repopen the pr."
+ close-pr-message: "Hi, @coronasafe/care-frontend-maintainers, This PR has been automatically closed due to inactivity. Thank you for your contributions. Feel free to re-open the PR."
exempt-issue-labels: "blocked,waiting for related PR,waiting for back end,help wanted,work-in-progress,In Progress,wishlist,EPIC"
exempt-pr-labels: "tested,needs testing,need Review,waiting for related PR,waiting for back end,help wanted,blocked,work-in-progress,In Progress"
days-before-issue-stale: 14
diff --git a/src/Components/Facility/DoctorVideoSlideover.tsx b/src/Components/Facility/DoctorVideoSlideover.tsx
index e5888bebf2e..d2591bf3600 100644
--- a/src/Components/Facility/DoctorVideoSlideover.tsx
+++ b/src/Components/Facility/DoctorVideoSlideover.tsx
@@ -16,7 +16,7 @@ const UserGroups = {
ALL: "All",
DOCTOR: "Doctor",
NURSE: "Nurse",
- TELEICU: "TeleICU Doctors",
+ TELEICU: "TeleICU Doctor",
};
type UserGroup = keyof typeof UserGroups;