diff --git a/src/pages/master/brandDevice/component/BrandForm.jsx b/src/pages/master/brandDevice/component/BrandForm.jsx index 42365c4..046045b 100644 --- a/src/pages/master/brandDevice/component/BrandForm.jsx +++ b/src/pages/master/brandDevice/component/BrandForm.jsx @@ -4,6 +4,8 @@ import { Form, Input, Row, Col, Typography, Switch } from 'antd'; const { Text } = Typography; const BrandForm = ({ form, formData, onValuesChange, isEdit = false }) => { + const isActive = Form.useWatch('is_active', form) ?? formData.is_active ?? true; + return (
Riwayat notifikasi yang dikirim ke engineer
@@ -181,7 +181,7 @@ const ListNotification = memo(function ListNotification(props) {
onClick={() => setActiveTab('all')}
style={tabButtonStyle(activeTab === 'all')}
>
- Semua
+ All
@@ -381,7 +381,7 @@ const ListNotification = memo(function ListNotification(props) {
fontWeight: 500,
}}
>
- Lihat Detail
+ View Detail
@@ -397,3 +397,5 @@ const ListNotification = memo(function ListNotification(props) {
});
export default ListNotification;
+
+
diff --git a/src/pages/report/report/component/ListReport.jsx b/src/pages/report/report/component/ListReport.jsx
index ce40586..16544cf 100644
--- a/src/pages/report/report/component/ListReport.jsx
+++ b/src/pages/report/report/component/ListReport.jsx
@@ -186,7 +186,7 @@ const ListReport = memo(function ListReport(props) {
icon={