Skip to content

Commit

Permalink
Мелкие правки
Browse files Browse the repository at this point in the history
  • Loading branch information
disturm committed May 4, 2024
1 parent 7ee401b commit 543a68d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/work/GoogleTableFetch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ class GoogleTableFetch extends React.Component<Props, State> {
in={this.state.showDisciplines}
className="vertical-margin-min"
>
<h3>Загруженная дисциплина из Google Таблицы</h3>
<h3>Загруженные дисциплины из Google Таблицы</h3>
{this.state.missedDisciplinesCount > 0 && (
<p>
Группы, к которым у вас нет доступа в БРС,{" "}
Expand Down
2 changes: 1 addition & 1 deletion src/managers/MarksManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ export default class MarksManager {
// 2) US → U stop, UU → U, UF → F, FS → F stop, FU → U, FF → F
const oldRating = ratings[rating.student.brs.studentUuid]?.rating;
const newRating =
oldRating && rating.status == MarkUpdateStatus.Skipped
oldRating && rating.status === MarkUpdateStatus.Skipped
? oldRating
: rating;
const newFinished = rating.status === MarkUpdateStatus.Skipped;
Expand Down

0 comments on commit 543a68d

Please sign in to comment.