Skip to content

Commit

Permalink
Merge pull request #4929 from dodona-edu/chore/computergebruik-reuse
Browse files Browse the repository at this point in the history
Add computergebruik to re-use beta
  • Loading branch information
chvp authored Sep 1, 2023
2 parents bf6a856 + 8f0b531 commit f16e208
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/assets/javascripts/saved_annotation_beta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { courseState } from "state/Courses";

const BETA_COURSES = new Set([10, 773, 1151, 1659, 2258, 2263]);
const BETA_COURSES = new Set([10, 773, 1151, 1659, 1662, 2258, 2263]);

export function isBetaCourse(courseId?: number): boolean {
return BETA_COURSES.has(courseId || courseState.id );
Expand Down
2 changes: 1 addition & 1 deletion app/policies/saved_annotation_policy.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
class SavedAnnotationPolicy < ApplicationPolicy
# REMOVE AFTER CLOSED BETA
BETA_COURSES = [10, 773, 1151, 1659, 2258, 2263].freeze
BETA_COURSES = [10, 773, 1151, 1659, 1662, 2258, 2263].freeze

class Scope < ApplicationPolicy::Scope
def resolve
Expand Down

0 comments on commit f16e208

Please sign in to comment.