Skip to content

Commit

Permalink
change "Group Management" to "Device Group" (#292)
Browse files Browse the repository at this point in the history
* change "Group Management" to "Device Group"

* change "Group Management" to "Device Group"
  • Loading branch information
hydraxman committed Feb 23, 2023
1 parent 393c695 commit 06c8317
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions react/src/component/Dashboard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import Tooltip from "@mui/material/Tooltip";
import Grid from '@material-ui/core/Grid';
import Paper from '@material-ui/core/Paper';
import DeviceAgentsView from '@/component/DeviceAgentsView'
import GroupManageView from '@/component/GroupManageView'
import DeviceGroupView from '@/component/DeviceGroupView'
import SearchView from '@/component/SearchView'
import RunnerView from '@/component/RunnerView'
import TestTaskView from '@/component/TasksView'
Expand Down Expand Up @@ -194,9 +194,9 @@ export default function Dashboard() {
</ListItem>
<ListItem component={Link} to={'/manage'} button>
<ListItemIcon>
<span className="material-icons-outlined">groups</span>
<span className="material-icons-outlined">table_view</span>
</ListItemIcon>
<ListItemText primary="Group Management"/>
<ListItemText primary="Device Group"/>
</ListItem>
<ListItem component={Link} to={'/tasks'} button>
<ListItemIcon>
Expand Down Expand Up @@ -290,7 +290,7 @@ export default function Dashboard() {
<DeviceAgentsView/>
</Route>
<Route exact path="/manage">
<GroupManageView/>
<DeviceGroupView/>
</Route>
<Route path="/runner">
<RunnerView theme={theme}/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const StyledTableRow = withStyles((theme) => ({
},
}))(TableRow);

export default class GroupManageView extends BaseView {
export default class DeviceGroupView extends BaseView {

state = {
hideSkeleton: true,
Expand Down Expand Up @@ -174,7 +174,7 @@ export default class GroupManageView extends BaseView {
<TableRow>
<TableCell colSpan="4">
<Typography variant="h4" className="mt-2 mb-2">
Group Management</Typography>
Device Group</Typography>
</TableCell>
<TableCell colSpan="2">
<Stack direction="row" spacing={2}
Expand Down Expand Up @@ -271,7 +271,7 @@ export default class GroupManageView extends BaseView {
<Dialog open={deviceList !== null}
fullWidth={true}
onClose={() => this.handleStatus("deviceList", null)}>
<DialogTitle>Group management
<DialogTitle>Device Group
<Stack direction="row" spacing={2}
justifyContent="flex-end">
<Button onClick={() => {
Expand Down

0 comments on commit 06c8317

Please sign in to comment.