-}
-@if (!canEdit) {
+} @else {
}
diff --git a/src/assets/wise5/vle/node-icon/node-icon.component.ts b/src/assets/wise5/vle/node-icon/node-icon.component.ts
index a2c648198f7..c9cd462f575 100644
--- a/src/assets/wise5/vle/node-icon/node-icon.component.ts
+++ b/src/assets/wise5/vle/node-icon/node-icon.component.ts
@@ -1,5 +1,3 @@
-'use strict';
-
import { ProjectService } from '../../services/projectService';
import { Component, Input, SimpleChanges } from '@angular/core';
import { MatDialog } from '@angular/material/dialog';
@@ -8,10 +6,10 @@ import { CommonModule } from '@angular/common';
import { MatIconModule } from '@angular/material/icon';
@Component({
- imports: [CommonModule, MatIconModule],
- selector: 'node-icon',
- styleUrl: 'node-icon.component.scss',
- templateUrl: 'node-icon.component.html'
+ imports: [CommonModule, MatIconModule],
+ selector: 'node-icon',
+ styleUrl: 'node-icon.component.scss',
+ templateUrl: 'node-icon.component.html'
})
export class NodeIconComponent {
@Input() canEdit: boolean;
@@ -23,7 +21,10 @@ export class NodeIconComponent {
@Input() size: number;
protected sizeClass: string;
- constructor(protected dialog: MatDialog, protected projectService: ProjectService) {}
+ constructor(
+ protected dialog: MatDialog,
+ protected projectService: ProjectService
+ ) {}
ngOnChanges(changes: SimpleChanges): void {
this.node = this.projectService.getNode(this.nodeId);
diff --git a/src/messages.xlf b/src/messages.xlf
index b994a2e9001..5f678b4d7f8 100644
--- a/src/messages.xlf
+++ b/src/messages.xlf
@@ -10107,7 +10107,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it.
src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.ts
- 22
+ 29
@@ -10125,7 +10125,7 @@ Click "Cancel" to keep the invalid JSON open so you can fix it.
src/assets/wise5/authoringTool/node/edit-node-title/edit-node-title.component.ts
- 22
+ 29
@@ -16549,11 +16549,11 @@ Are you sure you want to proceed?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 203
+ 204src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 219
+ 220
@@ -17490,7 +17490,7 @@ Are you ready to receive feedback on this answer?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 206
+ 207
@@ -17975,14 +17975,14 @@ Category Name: Are you sure you want to delete this post?src/assets/wise5/components/discussion/class-response/class-response.component.ts
- 129
+ 127Are you sure you want to show this post?src/assets/wise5/components/discussion/class-response/class-response.component.ts
- 135
+ 133
@@ -20438,7 +20438,7 @@ Current Score:
Are you ready to receive feedback on this answer?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 210
+ 211
@@ -20447,7 +20447,7 @@ Are you ready to receive feedback on this answer?
Are you ready to receive feedback on this answer?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 222
+ 223
@@ -20456,21 +20456,21 @@ Are you ready to receive feedback on this answer?
Are you ready to submit this answer?
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 226
+ 227We are scoring your work...src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 345
+ 346Please Waitsrc/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 346
+ 347
@@ -20478,7 +20478,7 @@ Are you ready to submit this answer?
If this problem continues, let your teacher know and move on to the next activity. Your work will still be saved.
src/assets/wise5/components/openResponse/open-response-student/open-response-student.component.ts
- 369
+ 370
@@ -20499,7 +20499,7 @@ If this problem continues, let your teacher know and move on to the next activit
An error occurred while recording: src/assets/wise5/components/openResponse/speech-to-text/speech-to-text.component.ts
- 56
+ 57