Commit 9e1df20a authored by Thomas Randolph's avatar Thomas Randolph

Add file mode to the repository browser file rows

parent c705a228
......@@ -97,6 +97,7 @@ export default {
:path="entry.flatPath"
:type="entry.type"
:url="entry.webUrl"
:mode="entry.mode"
:submodule-tree-url="entry.treeUrl"
:lfs-oid="entry.lfsOid"
:loading-path="loadingPath"
......
......@@ -66,6 +66,11 @@ export default {
type: String,
required: true,
},
mode: {
type: String,
required: false,
default: '',
},
type: {
type: String,
required: true,
......@@ -140,6 +145,7 @@ export default {
>
<file-icon
:file-name="fullPath"
:file-mode="mode"
:folder="isFolder"
:submodule="isSubmodule"
:loading="path === loadingPath"
......
......@@ -24,6 +24,11 @@ export default {
type: String,
required: true,
},
fileMode: {
type: Number,
required: false,
default: -1
},
folder: {
type: Boolean,
......
......@@ -6,6 +6,8 @@ const INTERVALS = {
day: 'day',
};
export const FILE_SYMLINK_MODE = '120000';
export const timeRanges = [
{
label: __('30 minutes'),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment