Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change "Group Management" to "Device Group" #292

Merged
merged 2 commits into from
Feb 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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