diff --git a/src/app/app.module.ts b/src/app/app.module.ts
index 3d074bd..c39149a 100644
--- a/src/app/app.module.ts
+++ b/src/app/app.module.ts
@@ -18,7 +18,7 @@ import { SignupComponent } from './signup/signup.component';
import { HuddleComponent } from './huddle/huddle.component';
import { ProfileComponent } from './profile/profile.component';
import { ChannelComponent } from './channel/channel.component';
-import { ChannelListComponent } from './channel-list/channel-list.component';
+import { SidebarComponent } from './sidebar/sidebar.component';
import { DashboardComponent } from './dashboard/dashboard.component';
@NgModule({
@@ -30,7 +30,7 @@ import { DashboardComponent } from './dashboard/dashboard.component';
SignupComponent,
ProfileComponent,
ChannelComponent,
- ChannelListComponent,
+ SidebarComponent,
DashboardComponent
],
imports: [
diff --git a/src/app/channel-list/channel-list.component.spec.ts b/src/app/channel-list/channel-list.component.spec.ts
deleted file mode 100644
index d4d8c95..0000000
--- a/src/app/channel-list/channel-list.component.spec.ts
+++ /dev/null
@@ -1,25 +0,0 @@
-import { ComponentFixture, TestBed } from '@angular/core/testing';
-
-import { ChannelListComponent } from './channel-list.component';
-
-describe('ChannelListComponent', () => {
- let component: ChannelListComponent;
- let fixture: ComponentFixture
;
-
- beforeEach(async () => {
- await TestBed.configureTestingModule({
- declarations: [ ChannelListComponent ]
- })
- .compileComponents();
- });
-
- beforeEach(() => {
- fixture = TestBed.createComponent(ChannelListComponent);
- component = fixture.componentInstance;
- fixture.detectChanges();
- });
-
- it('should create', () => {
- expect(component).toBeTruthy();
- });
-});
diff --git a/src/app/channel-list/channel-list.component.html b/src/app/sidebar/sidebar.component.html
similarity index 82%
rename from src/app/channel-list/channel-list.component.html
rename to src/app/sidebar/sidebar.component.html
index 79209a7..1f36f67 100644
--- a/src/app/channel-list/channel-list.component.html
+++ b/src/app/sidebar/sidebar.component.html
@@ -14,4 +14,5 @@
+ v{{environment.version}}
diff --git a/src/app/channel-list/channel-list.component.scss b/src/app/sidebar/sidebar.component.scss
similarity index 100%
rename from src/app/channel-list/channel-list.component.scss
rename to src/app/sidebar/sidebar.component.scss
diff --git a/src/app/channel-list/channel-list.component.ts b/src/app/sidebar/sidebar.component.ts
similarity index 75%
rename from src/app/channel-list/channel-list.component.ts
rename to src/app/sidebar/sidebar.component.ts
index bfced36..74ecec7 100644
--- a/src/app/channel-list/channel-list.component.ts
+++ b/src/app/sidebar/sidebar.component.ts
@@ -2,14 +2,16 @@ import { Component, OnInit } from '@angular/core';
import { Observable, throwError } from 'rxjs';
import { StandUp } from '../api/supabase/standup';
import { StandupService } from '../api/supabase/standup.service';
+import { environment } from '../../environments/environment';
@Component({
- selector: 'app-channel-list',
- templateUrl: './channel-list.component.html',
- styleUrls: ['./channel-list.component.scss']
+ selector: 'app-sidebar',
+ templateUrl: './sidebar.component.html',
+ styleUrls: ['./sidebar.component.scss']
})
-export class ChannelListComponent implements OnInit {
+export class SidebarComponent implements OnInit {
standups: StandUp[] = [];
+ environment = environment;
constructor(
private standupSevice: StandupService,
diff --git a/src/environments/environment.ts b/src/environments/environment.ts
index db724b2..3b6794a 100644
--- a/src/environments/environment.ts
+++ b/src/environments/environment.ts
@@ -6,5 +6,6 @@
export const environment = {
production: false,
supa_url: 'https://wdklwjgycvhxpbbnrpto.supabase.co',
- supa_key: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYwMzQ2OTMyOCwiZXhwIjoxOTE5MDQ1MzI4fQ.KunzEloX8UoOAK8fGbiZtAi9bMxB_Ap8GVcJFWyPx0Q'
+ supa_key: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlhdCI6MTYwMzQ2OTMyOCwiZXhwIjoxOTE5MDQ1MzI4fQ.KunzEloX8UoOAK8fGbiZtAi9bMxB_Ap8GVcJFWyPx0Q',
+ version: '0.0.1'
};