mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-21 00:52:55 +00:00
feat: add map module
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (C) 2018, 2019, 2020 StApps
|
||||
* Copyright (C) 2018-2021 StApps
|
||||
* This program is free software: you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the Free
|
||||
* Software Foundation, version 3.
|
||||
@@ -12,7 +12,7 @@
|
||||
* You should have received a copy of the GNU General Public License along with
|
||||
* this program. If not, see <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
import {Component, OnDestroy} from '@angular/core';
|
||||
import {Component, Input, OnDestroy} from '@angular/core';
|
||||
import {LangChangeEvent, TranslateService} from '@ngx-translate/core';
|
||||
import {
|
||||
SCLanguage,
|
||||
@@ -38,6 +38,12 @@ import {FilterContext, SortContext, SortContextOption} from './context-type';
|
||||
templateUrl: 'context-menu.html',
|
||||
})
|
||||
export class ContextMenuComponent implements OnDestroy {
|
||||
/**
|
||||
* Id of the content the menu is used for
|
||||
*/
|
||||
@Input()
|
||||
contentId: string;
|
||||
|
||||
/**
|
||||
* Amount of filter options shown on compact view
|
||||
*/
|
||||
@@ -145,7 +151,6 @@ export class ContextMenuComponent implements OnDestroy {
|
||||
for (const filterBucket of filterFacet.buckets) {
|
||||
filterBucket.checked = false;
|
||||
}
|
||||
|
||||
this.contextMenuService.contextFilterChanged(this.filterOption);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user