Web:Common: fixed export and import decodeDisplayName
This commit is contained in:
parent
43b9b6183c
commit
2e72e298e6
@ -1,4 +1,5 @@
|
||||
import { request } from "../client";
|
||||
import { decodeDisplayName } from "../../utils";
|
||||
|
||||
export function getRooms(filter) {
|
||||
const options = {
|
||||
|
@ -22,7 +22,7 @@ export const toUrlParams = (obj, skipNull) => {
|
||||
return str;
|
||||
};
|
||||
|
||||
const decodeDisplayName = (items) => {
|
||||
export const decodeDisplayName = (items) => {
|
||||
return items.map((item) => {
|
||||
if (!item) return item;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user