aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/src/app/view-models/support/support-view-model.ts
blob: 2f43d87b18425de0d40ec12ad105416f66ac6495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
'use strict';
import {CacheService} from "app/services";

interface ISupportViewModelScope {
    version:string;
}

export class SupportViewModel {

    static '$inject' = ['$scope', 'Sdc.Services.CacheService'];

    constructor(private $scope:ISupportViewModelScope,
                private cacheService:CacheService) {
        this.$scope.version = this.cacheService.get('version');
    }
}