Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,15 @@ export class UmbLogMessagesServerDataSource implements LogMessagesDataSource {
return await tryExecute(
this.#host,
LogViewerService.getLogViewerLog({
query: { skip, take, orderDirection, filterExpression, logLevel, startDate, endDate },
query: {
skip,
take,
orderDirection,
filterExpression,
logLevel: logLevel?.length ? logLevel : undefined,
startDate,
endDate,
},
}),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export class UmbLogViewerMessageElement extends UmbLitElement {

query = {
...query,
lq: encodeURIComponent(`${name}=${sanitizedValue}`),
lq: `${name}=${sanitizedValue}`,
};

const queryString = toQueryString(query);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class UmbRenamePartialViewServerDataSource {
const { data, error } = await tryExecute(
this.#host,
PartialViewService.putPartialViewByPathRename({
path: { path: encodeURIComponent(path) },
path: { path },
body,
}),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class UmbPartialViewDetailServerDataSource implements UmbDetailDataSource

const { data, error } = await tryExecute(
this.#host,
PartialViewService.getPartialViewByPath({ path: { path: encodeURIComponent(path) } }),
PartialViewService.getPartialViewByPath({ path: { path } }),
);

if (error || !data) {
Expand Down Expand Up @@ -100,7 +100,7 @@ export class UmbPartialViewDetailServerDataSource implements UmbDetailDataSource
const { error } = await tryExecute(
this.#host,
PartialViewService.putPartialViewByPath({
path: { path: encodeURIComponent(path) },
path: { path },
body,
}),
);
Expand All @@ -121,7 +121,7 @@ export class UmbPartialViewDetailServerDataSource implements UmbDetailDataSource
return tryExecute(
this.#host,
PartialViewService.deletePartialViewByPath({
path: { path: encodeURIComponent(path) },
path: { path },
}),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class UmbPartialViewFolderServerDataSource implements UmbDetailDataSource
const { data, error } = await tryExecute(
this.#host,
PartialViewService.getPartialViewFolderByPath({
path: { path: encodeURIComponent(path) },
path: { path },
}),
);

Expand Down Expand Up @@ -125,7 +125,7 @@ export class UmbPartialViewFolderServerDataSource implements UmbDetailDataSource
return tryExecute(
this.#host,
PartialViewService.deletePartialViewFolderByPath({
path: { path: encodeURIComponent(path) },
path: { path },
}),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class UmbRenameScriptServerDataSource {
const { data, error } = await tryExecute(
this.#host,
ScriptService.putScriptByPathRename({
path: { path: encodeURIComponent(path) },
path: { path },
body,
}),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class UmbScriptDetailServerDataSource implements UmbDetailDataSource<UmbS

const { data, error } = await tryExecute(
this.#host,
ScriptService.getScriptByPath({ path: { path: encodeURIComponent(path) } }),
ScriptService.getScriptByPath({ path: { path } }),
);

if (error || !data) {
Expand Down Expand Up @@ -97,7 +97,7 @@ export class UmbScriptDetailServerDataSource implements UmbDetailDataSource<UmbS
const { error } = await tryExecute(
this.#host,
ScriptService.putScriptByPath({
path: { path: encodeURIComponent(path) },
path: { path },
body,
}),
);
Expand All @@ -118,7 +118,7 @@ export class UmbScriptDetailServerDataSource implements UmbDetailDataSource<UmbS
return tryExecute(
this.#host,
ScriptService.deleteScriptByPath({
path: { path: encodeURIComponent(path) },
path: { path },
}),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export class UmbScriptFolderServerDataSource implements UmbDetailDataSource<UmbF
const { data, error } = await tryExecute(
this.#host,
ScriptService.getScriptFolderByPath({
path: { path: encodeURIComponent(path) },
path: { path },
}),
);

Expand Down Expand Up @@ -124,7 +124,7 @@ export class UmbScriptFolderServerDataSource implements UmbDetailDataSource<UmbF
return tryExecute(
this.#host,
ScriptService.deleteScriptFolderByPath({
path: { path: encodeURIComponent(path) },
path: { path },
}),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class UmbRenameStylesheetServerDataSource {
const { data, error } = await tryExecute(
this.#host,
StylesheetService.putStylesheetByPathRename({
path: { path: encodeURIComponent(path) },
path: { path },
body,
}),
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class UmbStylesheetDetailServerDataSource implements UmbDetailDataSource<

const { data, error } = await tryExecute(
this.#host,
StylesheetService.getStylesheetByPath({ path: { path: encodeURIComponent(path) } }),
StylesheetService.getStylesheetByPath({ path: { path } }),
);

if (error || !data) {
Expand Down Expand Up @@ -100,7 +100,7 @@ export class UmbStylesheetDetailServerDataSource implements UmbDetailDataSource<
const { error } = await tryExecute(
this.#host,
StylesheetService.putStylesheetByPath({
path: { path: encodeURIComponent(path) },
path: { path },
body,
}),
);
Expand All @@ -121,7 +121,7 @@ export class UmbStylesheetDetailServerDataSource implements UmbDetailDataSource<
return tryExecute(
this.#host,
StylesheetService.deleteStylesheetByPath({
path: { path: encodeURIComponent(path) },
path: { path },
}),
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export class UmbStylesheetFolderServerDataSource implements UmbDetailDataSource<
const { data, error } = await tryExecute(
this.#host,
StylesheetService.getStylesheetFolderByPath({
path: { path: encodeURIComponent(path) },
path: { path },
Comment thread
AndyButland marked this conversation as resolved.
}),
);

Expand Down Expand Up @@ -119,7 +119,7 @@ export class UmbStylesheetFolderServerDataSource implements UmbDetailDataSource<
return tryExecute(
this.#host,
StylesheetService.deleteStylesheetFolderByPath({
path: { path: encodeURIComponent(path) },
path: { path },
}),
);
}
Expand Down
Loading