mirror of
https://github.com/hcengineering/platform.git
synced 2025-06-08 00:37:42 +00:00
UBERF-7996 Hide github project attributes (#6444)
Signed-off-by: Alexander Onnikov <Alexander.Onnikov@xored.com>
This commit is contained in:
parent
387aecd12e
commit
699e553e83
@ -20,7 +20,9 @@
|
|||||||
export let value: Ref<Class<Doc>>
|
export let value: Ref<Class<Doc>>
|
||||||
|
|
||||||
const client = getClient()
|
const client = getClient()
|
||||||
const _class = client.getModel().getObject(value)
|
const _class = value !== undefined ? client.getModel().getObject(value) : undefined
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<Label label={_class.label} />
|
{#if _class}
|
||||||
|
<Label label={_class.label} />
|
||||||
|
{/if}
|
||||||
|
@ -355,25 +355,31 @@ export class TGithubAuthentication extends TPreference implements GithubAuthenti
|
|||||||
export class TGithubProject extends TProject implements GithubProject {
|
export class TGithubProject extends TProject implements GithubProject {
|
||||||
@Prop(TypeRef(github.class.GithubIntegration), getEmbeddedLabel('Integration'))
|
@Prop(TypeRef(github.class.GithubIntegration), getEmbeddedLabel('Integration'))
|
||||||
@ReadOnly()
|
@ReadOnly()
|
||||||
|
@Hidden()
|
||||||
integration!: Ref<GithubIntegration>
|
integration!: Ref<GithubIntegration>
|
||||||
|
|
||||||
@Prop(ArrOf(TypeRef(github.class.GithubIntegrationRepository)), getEmbeddedLabel('Repositories'))
|
@Prop(ArrOf(TypeRef(github.class.GithubIntegrationRepository)), getEmbeddedLabel('Repositories'))
|
||||||
@ReadOnly()
|
@ReadOnly()
|
||||||
|
@Hidden()
|
||||||
repositories!: Ref<GithubIntegrationRepository>[]
|
repositories!: Ref<GithubIntegrationRepository>[]
|
||||||
|
|
||||||
@Prop(TypeString(), getEmbeddedLabel('NodeID'))
|
@Prop(TypeString(), getEmbeddedLabel('NodeID'))
|
||||||
@ReadOnly()
|
@ReadOnly()
|
||||||
|
@Hidden()
|
||||||
projectNodeId!: string
|
projectNodeId!: string
|
||||||
|
|
||||||
@Prop(TypeNumber(), getEmbeddedLabel('Number'))
|
@Prop(TypeNumber(), getEmbeddedLabel('Number'))
|
||||||
@ReadOnly()
|
@ReadOnly()
|
||||||
|
@Hidden()
|
||||||
projectNumber!: number
|
projectNumber!: number
|
||||||
|
|
||||||
@Prop(TypeRef(core.class.Class), getEmbeddedLabel('Attribute Class'))
|
@Prop(TypeRef(core.class.Class), getEmbeddedLabel('Attribute Class'))
|
||||||
@ReadOnly()
|
@ReadOnly()
|
||||||
|
@Hidden()
|
||||||
mixinClass!: Ref<Class<GithubIssue>>
|
mixinClass!: Ref<Class<GithubIssue>>
|
||||||
|
|
||||||
@Prop(ArrOf(TypeRecord()), getEmbeddedLabel('Field mappings'))
|
@Prop(ArrOf(TypeRecord()), getEmbeddedLabel('Field mappings'))
|
||||||
|
@Hidden()
|
||||||
// Mapping of all fields in this project.
|
// Mapping of all fields in this project.
|
||||||
mappings!: GithubFieldMapping[]
|
mappings!: GithubFieldMapping[]
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user