Vadelius / swlsimNET

Combat-Simulator for Secret World Legends
Other
10 stars 7 forks source link

Angular: ngIf on forms. #50

Open Vadelius opened 6 years ago

Vadelius commented 6 years ago

export class ImportComponent {

has nameArray for each weapon containing the procs like so: hammerProc: string[] = ["None", "Anima Touched", "Plasma Forged", "Shadowbound", "Pneumatic Maul", "Fuming Despoiler"];

primaryProc: string[];
secondaryProc: string[];

Are empty. And they depending on what primaryWeapon is selected say hammer then hammerProc contents should be pushed into primaryProc. or if secondaryWeapon is "Fist" then fistProc should be pushed into "secondaryProc" []

sajeetharan commented 6 years ago

i will take this up

Vadelius commented 6 years ago

ideal solution might not be ngIf but TS inside the component, but I'll leave that upto you!

sajeetharan commented 6 years ago

Sure! i will check on that :) when i am trying to run the applicaiton on vs 2017, i am not able to restore packages! any idea?

Vadelius commented 6 years ago

Re-fork and you should be fine! A dotnet run should restore all packages (part of .net core 2)

sajeetharan commented 6 years ago

i got the solution up and working, but not sure about this requirement. can you explain a bit