Skip to content

Commit

Permalink
fix: Rename all related instances of reorderModels to reorderModelsDi…
Browse files Browse the repository at this point in the history
…alog
  • Loading branch information
romeonicholas committed Nov 29, 2023
1 parent a926fa8 commit 51a3eb4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions frontend/src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ import { EditProjectMetadataComponent } from './projects/project-detail/edit-pro
import { ModelComplexityBadgeComponent } from './projects/project-detail/model-overview/model-complexity-badge/model-complexity-badge.component';
import { ModelOverviewComponent } from './projects/project-detail/model-overview/model-overview.component';
import { MoveModelComponent } from './projects/project-detail/model-overview/move-model/move-model.component';
import { ReorderModelsComponent } from './projects/project-detail/model-overview/reorder-models/reorder-models.component';
import { ReorderModelsDialogComponent } from './projects/project-detail/model-overview/reorder-models-dialog/reorder-models-dialog.component';
import { ProjectDetailsComponent } from './projects/project-detail/project-details.component';
import { ProjectMetadataComponent } from './projects/project-detail/project-metadata/project-metadata.component';
import { AddUserToProjectDialogComponent } from './projects/project-detail/project-users/add-user-to-project/add-user-to-project.component';
Expand Down Expand Up @@ -215,7 +215,7 @@ import { SettingsComponent } from './settings/settings.component';
ProjectUserSettingsComponent,
ProjectWrapperComponent,
PureVariantsComponent,
ReorderModelsComponent,
ReorderModelsDialogComponent,
SessionComponent,
SessionIFrameComponent,
SessionOverviewComponent,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
ModelService,
} from 'src/app/projects/models/service/model.service';
import { MoveModelComponent } from 'src/app/projects/project-detail/model-overview/move-model/move-model.component';
import { ReorderModelsComponent } from 'src/app/projects/project-detail/model-overview/reorder-models/reorder-models.component';
import { ReorderModelsDialogComponent } from 'src/app/projects/project-detail/model-overview/reorder-models-dialog/reorder-models-dialog.component';
import { ProjectUserService } from 'src/app/projects/project-detail/project-users/service/project-user.service';
import { UserService } from 'src/app/services/user/user.service';
import { SessionService } from 'src/app/sessions/service/session.service';
Expand Down Expand Up @@ -104,7 +104,7 @@ export class ModelOverviewComponent implements OnInit {

openReorderModelsDialog(models: Model[]): void {
if (this.project) {
this.dialog.open(ReorderModelsComponent, {
this.dialog.open(ReorderModelsDialogComponent, {
data: { projectSlug: this.project.slug, models: models },
});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ import {
import {} from 'src/app/projects/service/project.service';
@Component({
selector: 'app-reorder-models',
templateUrl: './reorder-models.component.html',
templateUrl: './reorder-models-dialog.component.html',
})
export class ReorderModelsComponent {
export class ReorderModelsDialogComponent {
constructor(
public modelService: ModelService,
private dialogRef: MatDialogRef<ReorderModelsComponent>,
private dialogRef: MatDialogRef<ReorderModelsDialogComponent>,
private toastService: ToastService,
@Inject(MAT_DIALOG_DATA)
public data: { projectSlug: string; models: Model[] },
Expand Down

0 comments on commit 51a3eb4

Please sign in to comment.