Browse Source

Merge pull request #3795 from chetanverma16/develop

fix(nc-gui): adding max-width-250px to sharedViewList password
pull/3802/head
Pranav C 2 years ago committed by GitHub
parent
commit
5532fad47c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      packages/nc-gui/components/smartsheet-toolbar/SharedViewList.vue

2
packages/nc-gui/components/smartsheet-toolbar/SharedViewList.vue

@ -125,7 +125,7 @@ const deleteLink = async (id: string) => {
<template #default="{ record }"> <template #default="{ record }">
<div class="flex items-center items-center gap-1"> <div class="flex items-center items-center gap-1">
<template v-if="record.password"> <template v-if="record.password">
<span class="h-min">{{ record.showPassword ? record.password : '***************************' }}</span> <span class="h-min max-w-[250px]">{{ record.showPassword ? record.password : Array(record.password.length + 1).join("*") }}</span>
<component <component
:is="record.showPassword ? MdiVisibilityOffIcon : MdiVisibilityOnIcon" :is="record.showPassword ? MdiVisibilityOffIcon : MdiVisibilityOnIcon"
@click="record.showPassword = !record.showPassword" @click="record.showPassword = !record.showPassword"

Loading…
Cancel
Save