Skip to content

Commit

Permalink
Add computergebruik to re-use beta
Browse files Browse the repository at this point in the history
  • Loading branch information
chvp committed Sep 1, 2023
1 parent bf6a856 commit 8f0b531
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 8f0b531

Please sign in to comment.