Browse Source

fix(rc-gui): adding max-width-250px to sharedViewList password

pull/3795/head
Chetan Verma 2 years ago
parent
commit
817ecafb48
  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