Skip to content

Commit

Permalink
Applied review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
jatindersingh93 committed Nov 1, 2023
1 parent 01652e5 commit 860bb72
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
1 change: 0 additions & 1 deletion frontend/src/assets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -183,5 +183,4 @@ td .wrap-block {
.p-input-icon-clear-right {
position: absolute !important;
right: 0rem;
line-height: 1.2;
}
4 changes: 2 additions & 2 deletions frontend/src/components/object/ObjectFileDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ watch([props, getObjects], async () => {
/>
<Button
v-if="permissionStore.isObjectActionAllowed(props.objectId, getUserId, Permissions.MANAGE, bucketId)"
v-tooltip.bottom="'Bucket permissions'"
v-tooltip.bottom="'Object permissions'"
class="p-button-lg p-button-text"
aria-label="Bucket permissions"
aria-label="Object permissions"
@click="showPermissions(props.objectId)"
>
<font-awesome-icon icon="fa-solid fa-users" />
Expand Down
9 changes: 5 additions & 4 deletions frontend/src/components/object/ObjectTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,11 @@ const filters = ref({
<i class="pi pi-search" />
<InputText
v-model="filters['global'].value"
class="searchInput"
placeholder="Search File Names"
/>
<Button
v-show="filters['global'].value != null"
v-show="filters['global'].value !== null"
v-tooltip.bottom="'Clear'"
class="ml-2 p-input-icon-clear-right"
icon="pi pi-times"
Expand Down Expand Up @@ -251,9 +252,9 @@ const filters = ref({
data.public ||
permissionStore.isObjectActionAllowed(data.id, getUserId, Permissions.READ, props.bucketId as string)
"
v-tooltip.bottom="'Bucket detail'"
v-tooltip.bottom="'Object details'"
class="p-button-lg p-button-rounded p-button-text"
aria-label="Bucket detail"
aria-label="Object details"
@click="showInfo(data.id)"
>
<font-awesome-icon icon="fa-solid fa-circle-info" />
Expand Down Expand Up @@ -295,7 +296,7 @@ const filters = ref({
</div>
</template>
<style lang="scss" scoped>
:deep(.p-inputtext) {
:deep(.searchInput.p-inputtext) {
padding-right: 2.5rem;
}
</style>

0 comments on commit 860bb72

Please sign in to comment.