Compare commits

...

2 Commits

Author SHA1 Message Date
Julius Härtl
abb8ae5cff Bump version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-30 16:46:58 +02:00
Julius Härtl
40fd0c1401 Add polyfill and fix activity filtering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-30 16:39:28 +02:00
4 changed files with 9 additions and 2 deletions

View File

@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.
## 0.6.4 - 2019-06-30
### Fixed
- Restore stable15 compatibility
## 0.6.3 - 2019-06-30
### Fixed

View File

@@ -17,7 +17,7 @@
- 🚀 Get your project organized
</description>
<version>0.6.3</version>
<version>0.6.4</version>
<licence>agpl</licence>
<author>Julius Härtl</author>
<namespace>Deck</namespace>

View File

@@ -1,5 +1,7 @@
'use strict';
import "@babel/polyfill";
/* global __webpack_nonce__ __webpack_public_path__ OC t n */
// eslint-disable-next-line
__webpack_nonce__ = btoa(OC.requestToken);

View File

@@ -94,7 +94,7 @@ class ActivityService {
static getUrl(type, id, since) {
if (type === DECK_ACTIVITY_TYPE_CARD) {
return OC.linkToOCS('apps/activity/api/v2/activity', 2) + 'deck?format=json&object_type=deck_card&object_id=' + id + '&limit=' + this.RESULT_PER_PAGE + '&since=' + since;
return OC.linkToOCS('apps/activity/api/v2/activity', 2) + 'filter?format=json&object_type=deck_card&object_id=' + id + '&limit=' + this.RESULT_PER_PAGE + '&since=' + since;
}
if (type === DECK_ACTIVITY_TYPE_BOARD) {
return OC.linkToOCS('apps/activity/api/v2/activity', 2) + 'deck?format=json&limit=' + this.RESULT_PER_PAGE + '&since=' + since;