mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-31 21:03:03 +00:00
fixes owner source check
This commit is contained in:
parent
cc996cfb41
commit
554b706769
@ -108,10 +108,10 @@
|
|||||||
|
|
||||||
<td>
|
<td>
|
||||||
<button class="nacho-button nacho-button--small"
|
<button class="nacho-button nacho-button--small"
|
||||||
title={{if (contains (w "SCM") (w owner.source))
|
title={{if (eq owner.source "SCM")
|
||||||
"Owners sourced from SCM should be removed directly from SCM"
|
"Owners sourced from SCM should be removed directly from SCM"
|
||||||
"Remove"}}
|
"Remove"}}
|
||||||
disabled={{contains (w "SCM") (w owner.source)}}
|
disabled={{eq owner.source "SCM"}}
|
||||||
{{action "removeOwner" owner}}>
|
{{action "removeOwner" owner}}>
|
||||||
<i class="fa fa-trash"
|
<i class="fa fa-trash"
|
||||||
aria-label="Remove Owner"></i>
|
aria-label="Remove Owner"></i>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user