Commit bb02b935 by Emil Holsti

fixed unability to write JS

1 parent ba42812e
...@@ -4,7 +4,7 @@ import { Injectable } from '@angular/core'; ...@@ -4,7 +4,7 @@ import { Injectable } from '@angular/core';
export class EventsService { export class EventsService {
get(org: String) { get(org: String) {
if (org.localeCompare('asm') === 0) { if (org === 'asm') {
return [ return [
{title: 'Assembly Winter 18', date: '1.2.2018 - 3.2.2018'}, {title: 'Assembly Winter 18', date: '1.2.2018 - 3.2.2018'},
{title: 'Assembly Summer 18', date: '1.2.2018 - 3.2.2018'}, {title: 'Assembly Summer 18', date: '1.2.2018 - 3.2.2018'},
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!