Skip to content

Commit

Permalink
Merge branch 'release-7.9.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Feb 1, 2024
2 parents fa495d2 + 9c00de4 commit 1264801
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion views/js/loader/taoGroups.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion views/js/loader/taoGroups.min.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions views/js/provider/group.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* @author Alexander Zagovorichev <[email protected]>
*/

define(['jquery', 'lodash', 'i18n', 'util/url', 'core/promise', 'core/request'], function ($, _, __, urlUtil, Promise, coreRequest) {
define(['jquery', 'i18n', 'util/url', 'core/promise', 'core/request'], function ($, __, urlUtil, Promise, coreRequest) {
'use strict';

/**
Expand Down Expand Up @@ -52,7 +52,7 @@ define(['jquery', 'lodash', 'i18n', 'util/url', 'core/promise', 'core/request'],
type: 'instance'
};

config = _.defaults(config || {}, _defaults);
config = Object.assign({}, _defaults, config);

return new Promise((resolve, reject) => {
coreRequest({
Expand Down Expand Up @@ -80,7 +80,7 @@ define(['jquery', 'lodash', 'i18n', 'util/url', 'core/promise', 'core/request'],

return new Promise((resolve, reject) => {

if (!_.isString(uri) || _.isEmpty(uri)) {
if (typeof uri !== 'string' || uri.trim() === '') {
return reject(new TypeError(__('Group uri is not valid')));
}

Expand Down

0 comments on commit 1264801

Please sign in to comment.