pull/4791/head
Your Name 5 months ago
parent 870c260a40
commit c290436216
  1. 2
      libs/remix-ui/git/src/components/panels/sourcecontrol/sourcecontrolitem.tsx
  2. 2
      libs/remix-ui/git/src/lib/gitactions.ts

@ -48,7 +48,7 @@ export const SourceControlItem = (props: SourceControlItemProps) => {
</>)
}
if(!file.statusNames || file.statusNames.length === 0) return null
if (!file.statusNames || file.statusNames.length === 0) return null
return (<>
<div data-status={file.statusNames.join('-')} data-file={file.filename} className="d-flex w-100 d-flex flex-row align-items-center">

@ -642,7 +642,7 @@ export const loadGitHubUserFromToken = async () => {
}
export const statusMatrix = async (filepaths: string[]) => {
const matrix = await plugin.call('dgitApi', 'status', { ref: "HEAD", filepaths: filepaths || ['.'] });
const matrix = await plugin.call('dgitApi', 'status', { ref: "HEAD", filepaths: filepaths || ['.']});
const result = (matrix || []).map((x) => {
return {
filename: `/${x.shift()}`,

Loading…
Cancel
Save