mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5379] Add a way to disable WS notifications (#6924)
* [ADF-5379] Add a way to disable WS notifications * Update app-notifications.service.ts * Update task-filters-cloud.component.spec.ts * Move flag to upper level in config.json * Create new notification section in app.config.json * Update implementation * Improve naming
This commit is contained in:
@@ -18,6 +18,7 @@ Shows all available filters.
|
||||
- [Details](#details)
|
||||
- [Filtering APS2 task filters](#filtering-aps2-task-filters)
|
||||
- [Showing Filter Counters](#showing-filter-counters)
|
||||
- [Updating Filter Counters](#updating-filter-counters)
|
||||
- [See also](#see-also)
|
||||
|
||||
## Basic Usage
|
||||
@@ -66,7 +67,7 @@ as the value of `filterParam` as shown in the table below:
|
||||
| id | string | The id of the task filter |
|
||||
| name | string | The name of the task filter, lowercase is checked |
|
||||
| key | string | The key of the task filter |
|
||||
| index | string | The zero-based position of the filter in the array. |
|
||||
| index | string | The zero-based position of the filter in the array |
|
||||
|
||||
### Showing Filter Counters
|
||||
|
||||
@@ -74,6 +75,20 @@ By default, filter counters are hidden. If you want to display filter counters y
|
||||
|
||||

|
||||
|
||||
### Updating Filter Counters
|
||||
|
||||
If you want to disable notification bubbles as task filters change you can change it directly from the app.config.json.
|
||||
|
||||
```json
|
||||
{
|
||||
...
|
||||
"notifications": true
|
||||
...
|
||||
}
|
||||
```
|
||||
|
||||

|
||||
|
||||
## See also
|
||||
|
||||
- [Task filter Cloud Service](../services/task-filter-cloud.service.md)
|
||||
|
Reference in New Issue
Block a user