Skip to content

Commit

Permalink
chore: minor ui issue (open-metadata#15819)
Browse files Browse the repository at this point in the history
* chore: minor ui issue

* remove password field from schema form
  • Loading branch information
Ashish8689 authored Apr 6, 2024
1 parent a6d0c57 commit 61bc856
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 12 deletions.
6 changes: 3 additions & 3 deletions openmetadata-ui/src/main/resources/ui/src/assets/svg/doc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ import TitleBreadcrumb from '../../common/TitleBreadcrumb/TitleBreadcrumb.compon
import RetentionPeriod from '../../Database/RetentionPeriod/RetentionPeriod.component';
import Voting from '../../Entity/Voting/Voting.component';
import { VotingDataProps } from '../../Entity/Voting/voting.interface';
import './data-asset-header.less';
import {
DataAssetHeaderInfo,
DataAssetsHeaderProps,
Expand Down Expand Up @@ -425,7 +426,10 @@ export const DataAssetsHeader = ({
<Col span={7}>
<Space className="items-end w-full" direction="vertical" size={16}>
<Space>
<ButtonGroup data-testid="asset-header-btn-group" size="small">
<ButtonGroup
className="data-asset-button-group"
data-testid="asset-header-btn-group"
size="small">
{onUpdateVote && (
<Voting
disabled={deleted}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* Copyright 2024 Collate.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

.data-asset-button-group {
button {
:last-child {
border-top-right-radius: 4px;
border-bottom-right-radius: 4px;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const PasswordWidget: FC<WidgetProps> = ({
...rest
}) => {
return (
<Input.Password
<Input
autoComplete="off"
autoFocus={rest.autofocus}
disabled={rest.disabled}
Expand Down

0 comments on commit 61bc856

Please sign in to comment.