|
@@ -46,12 +46,17 @@ class PatientDetailPage extends GetView<PatientDetailController> {
|
|
|
);
|
|
|
},
|
|
|
),
|
|
|
-
|
|
|
- // Expanded(
|
|
|
- // child: CrowdLabelsCard(),
|
|
|
- // ),
|
|
|
- // SizedBox(height: 12),
|
|
|
- // Expanded(child: FollowupTipsCard()),
|
|
|
+ if (Store.user
|
|
|
+ .hasFeature(FeatureKeys.CrowdClassification)) ...[
|
|
|
+ const SizedBox(height: 12),
|
|
|
+ const Expanded(
|
|
|
+ child: CrowdLabelsCard(),
|
|
|
+ ),
|
|
|
+ ],
|
|
|
+ if (Store.user.hasFeature(FeatureKeys.ContractStatus)) ...[
|
|
|
+ const SizedBox(height: 12),
|
|
|
+ const Expanded(child: FollowupTipsCard()),
|
|
|
+ ]
|
|
|
],
|
|
|
),
|
|
|
),
|