mirror of
https://github.com/alexmickelson/canvasManagement.git
synced 2026-03-26 07:38:33 -06:00
removed id from rubric
This commit is contained in:
@@ -15,17 +15,18 @@
|
||||
|
||||
private int points { get; set; }
|
||||
private string label { get; set; }
|
||||
private string lastRubricItemId { get; set; }
|
||||
private bool firstLoad = true;
|
||||
protected override void OnParametersSet()
|
||||
{
|
||||
if(RubricItem.Id != lastRubricItemId)
|
||||
if(firstLoad)
|
||||
{
|
||||
lastRubricItemId = RubricItem.Id;
|
||||
firstLoad = false;
|
||||
points = RubricItem.Points;
|
||||
label = RubricItem.Label;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
private void editItem(string label, int points)
|
||||
{
|
||||
var newRubricItem = RubricItem with
|
||||
|
||||
Reference in New Issue
Block a user