authscape 1.0.536 → 1.0.538
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +4 -4
- package/package.json +1 -1
- package/src/components/kanban/Kanban.js +3 -3
package/index.js
CHANGED
|
@@ -2813,8 +2813,8 @@ function Kanban(_ref2) {
|
|
|
2813
2813
|
disableAddColumn = _ref2$disableAddColum === void 0 ? false : _ref2$disableAddColum,
|
|
2814
2814
|
containerStyles = _ref2.containerStyles,
|
|
2815
2815
|
itemStyles = _ref2.itemStyles,
|
|
2816
|
-
_ref2$
|
|
2817
|
-
|
|
2816
|
+
_ref2$identifier = _ref2.identifier,
|
|
2817
|
+
identifier = _ref2$identifier === void 0 ? null : _ref2$identifier,
|
|
2818
2818
|
containerStyle = _ref2.containerStyle,
|
|
2819
2819
|
_ref2$coordinateGette = _ref2.coordinateGetter,
|
|
2820
2820
|
coordinateGetter = _ref2$coordinateGette === void 0 ? multipleContainersCoordinateGetter : _ref2$coordinateGette,
|
|
@@ -2865,7 +2865,7 @@ function Kanban(_ref2) {
|
|
|
2865
2865
|
while (1) switch (_context.prev = _context.next) {
|
|
2866
2866
|
case 0:
|
|
2867
2867
|
response = null;
|
|
2868
|
-
if (!(
|
|
2868
|
+
if (!(identifier == null)) {
|
|
2869
2869
|
_context.next = 7;
|
|
2870
2870
|
break;
|
|
2871
2871
|
}
|
|
@@ -2877,7 +2877,7 @@ function Kanban(_ref2) {
|
|
|
2877
2877
|
break;
|
|
2878
2878
|
case 7:
|
|
2879
2879
|
_context.next = 9;
|
|
2880
|
-
return apiService().get("/Kanban/GetKanban?
|
|
2880
|
+
return apiService().get("/Kanban/GetKanban?identifier=" + identifier);
|
|
2881
2881
|
case 9:
|
|
2882
2882
|
response = _context.sent;
|
|
2883
2883
|
case 10:
|
package/package.json
CHANGED
|
@@ -134,7 +134,7 @@ export function Kanban({
|
|
|
134
134
|
disableAddColumn = false,
|
|
135
135
|
containerStyles,
|
|
136
136
|
itemStyles,
|
|
137
|
-
|
|
137
|
+
identifier = null,
|
|
138
138
|
containerStyle,
|
|
139
139
|
coordinateGetter = multipleContainersCoordinateGetter,
|
|
140
140
|
getItemStyles = () => ({}),
|
|
@@ -162,13 +162,13 @@ export function Kanban({
|
|
|
162
162
|
const fetchData = async () => {
|
|
163
163
|
|
|
164
164
|
let response = null;
|
|
165
|
-
if (
|
|
165
|
+
if (identifier == null)
|
|
166
166
|
{
|
|
167
167
|
response = await apiService().get("/Kanban/GetKanban");
|
|
168
168
|
}
|
|
169
169
|
else
|
|
170
170
|
{
|
|
171
|
-
response = await apiService().get("/Kanban/GetKanban?
|
|
171
|
+
response = await apiService().get("/Kanban/GetKanban?identifier=" + identifier);
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
if (response != null && response.status == 200)
|