aboutsummaryrefslogtreecommitdiffstats
path: root/src/app/vnfs/build-artifacts/build-artifacts.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/vnfs/build-artifacts/build-artifacts.component.ts')
-rw-r--r--src/app/vnfs/build-artifacts/build-artifacts.component.ts14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/app/vnfs/build-artifacts/build-artifacts.component.ts b/src/app/vnfs/build-artifacts/build-artifacts.component.ts
index 7641aa5..265fd77 100644
--- a/src/app/vnfs/build-artifacts/build-artifacts.component.ts
+++ b/src/app/vnfs/build-artifacts/build-artifacts.component.ts
@@ -17,7 +17,6 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-ECOMP is a trademark and service mark of AT&T Intellectual Property.
============LICENSE_END============================================
*/
@@ -29,8 +28,9 @@ import * as _ from 'underscore';
export class BuildDesignComponent implements OnInit {
tabs: Array<Object> = [];
private allowOtherUpdates: boolean = true;
+ public refDataRequiredFiels: boolean = false;
- constructor (private router: Router) {
+ constructor(private router: Router) {
}
ngOnInit() {
@@ -79,4 +79,14 @@ export class BuildDesignComponent implements OnInit {
return false;
}
}
+
+ public getRefData(referenceList) {
+ if (referenceList.action !== '' && referenceList['vnf-type'] !== '' && referenceList['device-protocol'] !== '') {
+ this.refDataRequiredFiels = true;
+ }
+ else {
+ this.refDataRequiredFiels = false;
+ }
+ }
+
}