@instructure/quiz-core 20.11.4-rc.1 → 20.11.4-rc.2
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.
|
@@ -56,7 +56,7 @@ export var Banks = (_dec = withStyle(generateStyle, generateComponentTheme), _de
|
|
|
56
56
|
_this = _super.apply(this, arguments);
|
|
57
57
|
|
|
58
58
|
_this.hideAccountSearch = function () {
|
|
59
|
-
return _this.props.scopeType === 'account' && _this.displayThisAccount();
|
|
59
|
+
return _this.props.scopeType === 'courses' || _this.props.scopeType === 'course' || _this.props.scopeType === 'account' && _this.displayThisAccount();
|
|
60
60
|
};
|
|
61
61
|
|
|
62
62
|
_this.displayThisAccount = function () {
|
|
@@ -256,8 +256,7 @@ export var Banks = (_dec = withStyle(generateStyle, generateComponentTheme), _de
|
|
|
256
256
|
if (prevProps.sortBy !== this.props.sortBy || prevProps.sortOrder !== this.props.sortOrder || prevProps.searchTerms !== this.props.searchTerms || prevProps.scopeType !== this.props.scopeType || !isEqual(prevProps.searchSelection, this.props.searchSelection)) {
|
|
257
257
|
this.props.clear(BANKS_BANK_PAGINATION);
|
|
258
258
|
}
|
|
259
|
-
} //
|
|
260
|
-
// if the user is on the "This Account" filter
|
|
259
|
+
} // Only display the account search for the account and all banks filters
|
|
261
260
|
|
|
262
261
|
}, {
|
|
263
262
|
key: "renderFilters",
|
|
@@ -96,7 +96,7 @@ var Banks = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _d
|
|
|
96
96
|
_this = _super.apply(this, arguments);
|
|
97
97
|
|
|
98
98
|
_this.hideAccountSearch = function () {
|
|
99
|
-
return _this.props.scopeType === 'account' && _this.displayThisAccount();
|
|
99
|
+
return _this.props.scopeType === 'courses' || _this.props.scopeType === 'course' || _this.props.scopeType === 'account' && _this.displayThisAccount();
|
|
100
100
|
};
|
|
101
101
|
|
|
102
102
|
_this.displayThisAccount = function () {
|
|
@@ -296,8 +296,7 @@ var Banks = (_dec = (0, _emotion.withStyle)(_styles.default, _theme.default), _d
|
|
|
296
296
|
if (prevProps.sortBy !== this.props.sortBy || prevProps.sortOrder !== this.props.sortOrder || prevProps.searchTerms !== this.props.searchTerms || prevProps.scopeType !== this.props.scopeType || !(0, _isEqual.default)(prevProps.searchSelection, this.props.searchSelection)) {
|
|
297
297
|
this.props.clear(_quizCommon.BANKS_BANK_PAGINATION);
|
|
298
298
|
}
|
|
299
|
-
} //
|
|
300
|
-
// if the user is on the "This Account" filter
|
|
299
|
+
} // Only display the account search for the account and all banks filters
|
|
301
300
|
|
|
302
301
|
}, {
|
|
303
302
|
key: "renderFilters",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@instructure/quiz-core",
|
|
3
|
-
"version": "20.11.4-rc.
|
|
3
|
+
"version": "20.11.4-rc.2+551dd5b47",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Quiz React SDK by Instructure Inc.",
|
|
6
6
|
"author": "Instructure, Inc. Engineering and Product Design",
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
"@instructure/emotion": "^8.51.0",
|
|
45
45
|
"@instructure/grading-utils": "^1.0.0",
|
|
46
46
|
"@instructure/outcomes-ui": "^3.2.1",
|
|
47
|
-
"@instructure/quiz-common": "20.11.4-rc.
|
|
48
|
-
"@instructure/quiz-i18n": "20.11.4-rc.
|
|
49
|
-
"@instructure/quiz-interactions": "20.11.4-rc.
|
|
50
|
-
"@instructure/quiz-number-input": "20.11.4-rc.
|
|
51
|
-
"@instructure/quiz-rce": "20.11.4-rc.
|
|
47
|
+
"@instructure/quiz-common": "20.11.4-rc.2+551dd5b47",
|
|
48
|
+
"@instructure/quiz-i18n": "20.11.4-rc.2+551dd5b47",
|
|
49
|
+
"@instructure/quiz-interactions": "20.11.4-rc.2+551dd5b47",
|
|
50
|
+
"@instructure/quiz-number-input": "20.11.4-rc.2+551dd5b47",
|
|
51
|
+
"@instructure/quiz-rce": "20.11.4-rc.2+551dd5b47",
|
|
52
52
|
"@instructure/ui-a11y-content": "^8.51.0",
|
|
53
53
|
"@instructure/ui-alerts": "^8.51.0",
|
|
54
54
|
"@instructure/ui-avatar": "^8.51.0",
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
"file-saver": "~2.0.5",
|
|
113
113
|
"humps": "^2.0.0",
|
|
114
114
|
"immutable": "^3.8.1",
|
|
115
|
-
"instructure-validations": "20.11.4-rc.
|
|
115
|
+
"instructure-validations": "20.11.4-rc.2+551dd5b47",
|
|
116
116
|
"ipaddr.js": "^1.5.4",
|
|
117
117
|
"isomorphic-fetch": "^2.2.0",
|
|
118
118
|
"isuuid": "^0.1.0",
|
|
@@ -163,7 +163,7 @@
|
|
|
163
163
|
"intl": "^1.2.4",
|
|
164
164
|
"jquery": "^2.2.3",
|
|
165
165
|
"most-subject": "^5.3.0",
|
|
166
|
-
"quiz-presets": "20.11.4-rc.
|
|
166
|
+
"quiz-presets": "20.11.4-rc.2+551dd5b47",
|
|
167
167
|
"react": "^16.8.6",
|
|
168
168
|
"react-addons-test-utils": "^15.6.2",
|
|
169
169
|
"react-dom": "^16.8.6",
|
|
@@ -179,5 +179,5 @@
|
|
|
179
179
|
"publishConfig": {
|
|
180
180
|
"access": "public"
|
|
181
181
|
},
|
|
182
|
-
"gitHead": "
|
|
182
|
+
"gitHead": "551dd5b477a4d76280ae3c35fb5321decc34a49c"
|
|
183
183
|
}
|