mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentral-ui-libs.git
synced 2025-10-29 09:52:20 +00:00
1.0.61: removed Preferences button from navbar
This commit is contained in:
1361
package-lock.json
generated
1361
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "ucentral-libs",
|
||||
"version": "1.0.59",
|
||||
"version": "1.0.61",
|
||||
"main": "dist/index.js",
|
||||
"source": "src/index.js",
|
||||
"engines": {
|
||||
|
||||
@@ -11,7 +11,7 @@ const DeviceSearchBar = ({ t, search, results, history, action }) => {
|
||||
);
|
||||
|
||||
const onInputChange = (value) => {
|
||||
if (value === '' || value.match('^[a-fA-F0-9]+$')) {
|
||||
if (value === '' || value.match('^[a-fA-F0-9-*]+$')) {
|
||||
setSelected(value);
|
||||
search(value);
|
||||
}
|
||||
|
||||
@@ -83,9 +83,6 @@ const Header = ({
|
||||
<CDropdownItem to={() => '/myprofile'}>
|
||||
<div className="px-3">{t('user.my_profile')}</div>
|
||||
</CDropdownItem>
|
||||
<CDropdownItem to={() => '/preferences'}>
|
||||
<div className="px-3">{t('common.preferences')}</div>
|
||||
</CDropdownItem>
|
||||
<CDropdownItem onClick={() => logout(authToken, endpoints.owsec)}>
|
||||
<strong className="px-3">{t('common.logout')}</strong>
|
||||
<CIcon content={cilAccountLogout} />
|
||||
|
||||
Reference in New Issue
Block a user