|
|
@ -53,6 +53,9 @@ |
|
|
|
<span |
|
|
|
<span |
|
|
|
:class="`caption font-weight-regular nc-sort-fld-${item.title}`" |
|
|
|
:class="`caption font-weight-regular nc-sort-fld-${item.title}`" |
|
|
|
> |
|
|
|
> |
|
|
|
|
|
|
|
<v-icon color="grey darken-4" small class="mr-1"> |
|
|
|
|
|
|
|
{{ item.icon }} |
|
|
|
|
|
|
|
</v-icon> |
|
|
|
{{ item.title }} |
|
|
|
{{ item.title }} |
|
|
|
</span> |
|
|
|
</span> |
|
|
|
</template> |
|
|
|
</template> |
|
|
@ -90,6 +93,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
<script> |
|
|
|
<script> |
|
|
|
import { RelationTypes, UITypes } from "nocodb-sdk"; |
|
|
|
import { RelationTypes, UITypes } from "nocodb-sdk"; |
|
|
|
|
|
|
|
import { getUIDTIcon } from '~/components/project/spreadsheet/helpers/uiTypes' |
|
|
|
|
|
|
|
|
|
|
|
export default { |
|
|
|
export default { |
|
|
|
name: "SortListMenu", |
|
|
|
name: "SortListMenu", |
|
|
@ -115,7 +119,10 @@ export default { |
|
|
|
c.uidt === UITypes.LinkToAnotherRecord && |
|
|
|
c.uidt === UITypes.LinkToAnotherRecord && |
|
|
|
c.colOptions.type !== RelationTypes.BELONGS_TO |
|
|
|
c.colOptions.type !== RelationTypes.BELONGS_TO |
|
|
|
) |
|
|
|
) |
|
|
|
); |
|
|
|
).map(c => ({ |
|
|
|
|
|
|
|
...c, |
|
|
|
|
|
|
|
icon: getUIDTIcon(c.uidt) |
|
|
|
|
|
|
|
})); |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, |
|
|
|
watch: { |
|
|
|
watch: { |
|
|
|