mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-01 06:58:01 +00:00
Merge branch 'v4' of github.com:jumpserver/lina into v4
This commit is contained in:
@@ -424,6 +424,7 @@ export function toTitleCase(string) {
|
|||||||
|
|
||||||
export function toSentenceCase(string) {
|
export function toSentenceCase(string) {
|
||||||
if (!string) return string
|
if (!string) return string
|
||||||
|
if (string.indexOf('/') > 0) return string
|
||||||
const s = string.trim().split(' ').map(item => {
|
const s = string.trim().split(' ').map(item => {
|
||||||
if (item.length === 0) return ''
|
if (item.length === 0) return ''
|
||||||
if (item.length === 1) return item.toLowerCase()
|
if (item.length === 1) return item.toLowerCase()
|
||||||
|
@@ -96,7 +96,7 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
user_groups_amount: {
|
user_groups_amount: {
|
||||||
width: 90,
|
width: 100,
|
||||||
formatter: AmountFormatter,
|
formatter: AmountFormatter,
|
||||||
formatterArgs: {
|
formatterArgs: {
|
||||||
async: true,
|
async: true,
|
||||||
|
Reference in New Issue
Block a user