feat: update dose retrieval to remove 30-day limit and add sharedBy field in share routes
This commit is contained in:
@@ -3390,6 +3390,7 @@ type SharedMedication = {
|
||||
|
||||
type SharedScheduleData = {
|
||||
takenBy: string;
|
||||
sharedBy: string | null;
|
||||
scheduleDays: number;
|
||||
medications: SharedMedication[];
|
||||
stockThresholds?: {
|
||||
@@ -4086,7 +4087,7 @@ function SharedSchedule() {
|
||||
</div>
|
||||
|
||||
<footer className="shared-schedule-footer">
|
||||
<p>{t('share.generatedBy')} MedAssist</p>
|
||||
<p>{t('share.generatedBy')} {data?.sharedBy && <><strong>{data.sharedBy}</strong> · </>}<a href="/">MedAssist</a></p>
|
||||
</footer>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user