Fix compile
This commit is contained in:
parent
7a8c497462
commit
a5b3cc5f3a
3 changed files with 3 additions and 3 deletions
|
|
@ -34,7 +34,7 @@ export function renderCursorsInFileExplorer(
|
||||||
(parent) => {
|
(parent) => {
|
||||||
cursors.forEach((cursor) => {
|
cursors.forEach((cursor) => {
|
||||||
cursor.documentsWithCursors.forEach((document) => {
|
cursor.documentsWithCursors.forEach((document) => {
|
||||||
if (document.relative_path.startsWith(key)) {
|
if (document.relativePath.startsWith(key)) {
|
||||||
parent.appendChild(
|
parent.appendChild(
|
||||||
createSpan({
|
createSpan({
|
||||||
text: cursor.userName,
|
text: cursor.userName,
|
||||||
|
|
|
||||||
|
|
@ -61,7 +61,7 @@ export class RemoteCursorsPluginValue implements PluginValue {
|
||||||
return clientCursors.flatMap((cursor) =>
|
return clientCursors.flatMap((cursor) =>
|
||||||
cursor.cursors.map((span) => ({
|
cursor.cursors.map((span) => ({
|
||||||
name: client.userName,
|
name: client.userName,
|
||||||
path: cursor.relative_path,
|
path: cursor.relativePath,
|
||||||
deviceId: client.deviceId,
|
deviceId: client.deviceId,
|
||||||
isOutdated: client.isOutdated,
|
isOutdated: client.isOutdated,
|
||||||
span: { ...span }
|
span: { ...span }
|
||||||
|
|
|
||||||
|
|
@ -88,7 +88,7 @@ export class StatusDescription {
|
||||||
text: ` and has indexed approximately `
|
text: ` and has indexed approximately `
|
||||||
});
|
});
|
||||||
container.createSpan({
|
container.createSpan({
|
||||||
text: `${this.syncClient.documentCount}`,
|
text: `${this.syncClient.syncedDocumentCount}`,
|
||||||
cls: "number"
|
cls: "number"
|
||||||
});
|
});
|
||||||
container.createSpan({
|
container.createSpan({
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue