mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-22 11:01:54 +03: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>>
|
||||
|
||||
const client = getClient()
|
||||
const _class = client.getModel().getObject(value)
|
||||
const _class = value !== undefined ? client.getModel().getObject(value) : undefined
|
||||
</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 {
|
||||
@Prop(TypeRef(github.class.GithubIntegration), getEmbeddedLabel('Integration'))
|
||||
@ReadOnly()
|
||||
@Hidden()
|
||||
integration!: Ref<GithubIntegration>
|
||||
|
||||
@Prop(ArrOf(TypeRef(github.class.GithubIntegrationRepository)), getEmbeddedLabel('Repositories'))
|
||||
@ReadOnly()
|
||||
@Hidden()
|
||||
repositories!: Ref<GithubIntegrationRepository>[]
|
||||
|
||||
@Prop(TypeString(), getEmbeddedLabel('NodeID'))
|
||||
@ReadOnly()
|
||||
@Hidden()
|
||||
projectNodeId!: string
|
||||
|
||||
@Prop(TypeNumber(), getEmbeddedLabel('Number'))
|
||||
@ReadOnly()
|
||||
@Hidden()
|
||||
projectNumber!: number
|
||||
|
||||
@Prop(TypeRef(core.class.Class), getEmbeddedLabel('Attribute Class'))
|
||||
@ReadOnly()
|
||||
@Hidden()
|
||||
mixinClass!: Ref<Class<GithubIssue>>
|
||||
|
||||
@Prop(ArrOf(TypeRecord()), getEmbeddedLabel('Field mappings'))
|
||||
@Hidden()
|
||||
// Mapping of all fields in this project.
|
||||
mappings!: GithubFieldMapping[]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user