summary text localStorage
This commit is contained in:
@@ -66,7 +66,8 @@ export const TableSettingProvider = ({children}) => {
|
||||
const _column = columns.find(column => column.id == sort.id)
|
||||
_list.push(`${_column.header}` + `(${sort.desc ? "نزولی" : "صعودی"})`)
|
||||
}
|
||||
SortText = " مرتب شده بر اساس " + _list.join(", ")
|
||||
if (_list.length > 0)
|
||||
SortText = " مرتب شده بر اساس " + _list.join(", ")
|
||||
}
|
||||
|
||||
if (values.hides) {
|
||||
@@ -78,7 +79,8 @@ export const TableSettingProvider = ({children}) => {
|
||||
const _column = columns.find(c => c.id == hide.id)
|
||||
_list.push(_column.header)
|
||||
}
|
||||
HideText = "ستون های مخفی شده : " + _list.join(", ");
|
||||
if (_list.length > 0)
|
||||
HideText = "ستون های مخفی شده : " + _list.join(", ");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user